Re-added alerts to profile.

This commit is contained in:
DebaucheryLibrarian 2021-05-15 03:49:27 +02:00
parent 71b25774d0
commit 55e240e68d
1 changed files with 8 additions and 11 deletions

View File

@ -1,5 +1,5 @@
import { graphql, post, del } from '../api'; import { graphql, post, del } from '../api';
import { releaseFields } from '../fragments'; import { actorFields, releaseFields } from '../fragments';
import { curateUser } from '../curate'; import { curateUser } from '../curate';
function initUsersActions(store, _router) { 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 { alerts {
id id
notify 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); return curateUser(user);
} }