add edit user button
This commit is contained in:
parent
a73ec272a8
commit
d883640955
2 changed files with 36 additions and 3 deletions
33
TODO
Normal file
33
TODO
Normal file
|
@ -0,0 +1,33 @@
|
|||
- Testing
|
||||
- create tests infrastracture
|
||||
- Tests
|
||||
- create user
|
||||
- delete user
|
||||
- create&delete user with children
|
||||
- create&delete user with connections
|
||||
|
||||
- Admin view
|
||||
- Bugs
|
||||
- delete children and links
|
||||
- delete user
|
||||
V delete self
|
||||
V delete child
|
||||
V delete self
|
||||
V delete links
|
||||
V delete links vvv
|
||||
- delete books and pages
|
||||
- delete user in 2 different windows (check if global 'currentUser' is affected)
|
||||
|
||||
- Edit user
|
||||
- edit users fields
|
||||
|
||||
- Grapsh
|
||||
- general
|
||||
- change period option (year,month,week,day)
|
||||
- sections (Users, calls, books? children?)
|
||||
- users
|
||||
- Last created
|
||||
- Last logged in
|
||||
- calls
|
||||
- avarage duration (need to add duration to table)
|
||||
- active calls?
|
|
@ -55,7 +55,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<button v-if="!user.is_admin" class="button" @click="onDeleteClicked(user)">Delete</button>
|
||||
<!-- <button v-if="!user.is_admin" class="button" @click="onEditClicked(user)">Edit</button> -->
|
||||
<button v-if="!user.is_admin" class="button" @click="onEditClicked(user)">Edit</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -86,10 +86,10 @@ export default {
|
|||
this.showDeleteUser = true;
|
||||
this.currentUser = user;
|
||||
},
|
||||
// onEditClicked(user){
|
||||
onEditClicked(user){
|
||||
// //this.showEditUser = true;
|
||||
// //this.currentUser = user;
|
||||
// },
|
||||
},
|
||||
...mapActions(["getUsers"])
|
||||
},
|
||||
async created() {
|
||||
|
|
Reference in a new issue