feat(ui): move settings button to sidebar footer row (#1469)

This commit is contained in:
Alex
2026-05-24 17:19:42 +01:00
committed by GitHub
parent f9d9000706
commit 62c1435a41
4 changed files with 59 additions and 19 deletions
@@ -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();