feat(ui): move settings button to sidebar footer row (#1469)
This commit is contained in:
@@ -163,6 +163,7 @@ export class AppSidebarComponent {
|
||||
const user = this.currentUser();
|
||||
return !!user && (user.permissions.admin || user.permissions.canUpload);
|
||||
});
|
||||
protected readonly isSettingsActive = computed(() => this.layoutService.currentPath() === '/settings');
|
||||
|
||||
readonly searchShortcutLabel = detectSearchShortcut(
|
||||
typeof navigator !== 'undefined' ? navigator.userAgent : ''
|
||||
@@ -278,11 +279,6 @@ export class AppSidebarComponent {
|
||||
this.closeUserPopover();
|
||||
}
|
||||
|
||||
protected openSettings(): void {
|
||||
this.router.navigate(['/settings']);
|
||||
this.closeUserPopover();
|
||||
}
|
||||
|
||||
protected openChangelogDialog(): void {
|
||||
void this.dialogLauncherService.openVersionChangelogDialog().catch(() => undefined);
|
||||
this.closeUserPopover();
|
||||
|
||||
Reference in New Issue
Block a user