Re-added alerts to profile.
This commit is contained in:
parent
71b25774d0
commit
55e240e68d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue