Remove disconnect button; picking Local or closing the tab covers it
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,16 +21,6 @@
|
||||
size="calc(var(--action-icon) - 0.1rem)"
|
||||
/>
|
||||
</button>
|
||||
@if (isRemote()) {
|
||||
<button
|
||||
(click)="disconnect()"
|
||||
title="Disconnect (back to local)"
|
||||
class="grid size-(--action-h) shrink-0 place-items-center rounded-md text-muted-foreground hover:bg-accent hover:text-foreground"
|
||||
>
|
||||
<ng-icon name="mynaLogout" size="var(--action-icon)" />
|
||||
</button>
|
||||
}
|
||||
|
||||
<div class="flex-1"></div>
|
||||
|
||||
<!-- panel actions: act on THIS panel. Frequent/destructive verbs grow text
|
||||
|
||||
@@ -119,10 +119,6 @@ export class FilePanel {
|
||||
this.dialogs.manager.set(true);
|
||||
}
|
||||
|
||||
disconnect(): void {
|
||||
void this.panels.disconnectPanel(this.side());
|
||||
}
|
||||
|
||||
iconFor(entry: FileEntry): string {
|
||||
return fileGlyph(entry, this.settings.iconColors() === 'multi');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user