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>
|
||||||
<td>
|
<td>
|
||||||
<button v-if="!user.is_admin" class="button" @click="onDeleteClicked(user)">Delete</button>
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -86,10 +86,10 @@ export default {
|
||||||
this.showDeleteUser = true;
|
this.showDeleteUser = true;
|
||||||
this.currentUser = user;
|
this.currentUser = user;
|
||||||
},
|
},
|
||||||
// onEditClicked(user){
|
onEditClicked(user){
|
||||||
// //this.showEditUser = true;
|
// //this.showEditUser = true;
|
||||||
// //this.currentUser = user;
|
// //this.currentUser = user;
|
||||||
// },
|
},
|
||||||
...mapActions(["getUsers"])
|
...mapActions(["getUsers"])
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
|
Reference in a new issue