forked from DebaucheryLibrarian/traxxx
Added user links to sidebar.
This commit is contained in:
@@ -148,6 +148,10 @@ function curateStash(stash) {
|
||||
}
|
||||
|
||||
function curateUser(user) {
|
||||
if (!user) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const curatedUser = user;
|
||||
|
||||
if (user.stashes) {
|
||||
|
||||
@@ -55,7 +55,7 @@ function initUsersActions(store, _router) {
|
||||
}
|
||||
`, {
|
||||
hasAuth: !!store.state.auth.user,
|
||||
userId: store.state.auth.user?.id,
|
||||
userId: store.state.auth.user?.id || null,
|
||||
username,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user