diff --git a/assets/js/users/actions.js b/assets/js/users/actions.js index 09731285..ce38ab9e 100644 --- a/assets/js/users/actions.js +++ b/assets/js/users/actions.js @@ -1,5 +1,5 @@ import { graphql, post, del } from '../api'; -import { releaseFields } from '../fragments'; +import { actorFields, releaseFields } from '../fragments'; import { curateUser } from '../curate'; function initUsersActions(store, _router) { @@ -55,15 +55,6 @@ function initUsersActions(store, _router) { } } } - } - } - `, { - hasAuth: !!store.state.auth.user, - userId: store.state.auth.user?.id || null, - username, - }); - - /* alerts { id notify @@ -106,7 +97,13 @@ function initUsersActions(store, _router) { } } } - */ + } + } + `, { + hasAuth: !!store.state.auth.user, + userId: store.state.auth.user?.id || null, + username, + }); return curateUser(user); }