Added user links to sidebar.

This commit is contained in:
DebaucheryLibrarian
2021-03-19 21:57:04 +01:00
parent c8ac8d6564
commit 3b3f4a1f2d
5 changed files with 77 additions and 27 deletions

View File

@@ -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,
});