1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

Implement edit user modal

EditUserHandler is a bit rough
This commit is contained in:
Toby Zerner
2015-08-05 11:49:37 +09:30
parent fff2ffe847
commit 1679f1e27b
12 changed files with 236 additions and 26 deletions

View File

@@ -1,5 +1,7 @@
import Button from 'flarum/components/Button';
import Separator from 'flarum/components/Separator';
import EditUserModal from 'flarum/components/EditUserModal';
import DeleteUserModal from 'flarum/components/DeleteUserModal';
import ItemList from 'flarum/utils/ItemList';
/**
@@ -93,13 +95,13 @@ export default {
* Delete the user.
*/
deleteAction() {
// TODO
app.modal.show(new DeleteUserModal({user: this}));
},
/**
* Edit the user.
*/
editAction() {
// TODO
app.modal.show(new EditUserModal({user: this}));
}
};