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)"
|
size="calc(var(--action-icon) - 0.1rem)"
|
||||||
/>
|
/>
|
||||||
</button>
|
</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>
|
<div class="flex-1"></div>
|
||||||
|
|
||||||
<!-- panel actions: act on THIS panel. Frequent/destructive verbs grow text
|
<!-- panel actions: act on THIS panel. Frequent/destructive verbs grow text
|
||||||
|
|||||||
@@ -119,10 +119,6 @@ export class FilePanel {
|
|||||||
this.dialogs.manager.set(true);
|
this.dialogs.manager.set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnect(): void {
|
|
||||||
void this.panels.disconnectPanel(this.side());
|
|
||||||
}
|
|
||||||
|
|
||||||
iconFor(entry: FileEntry): string {
|
iconFor(entry: FileEntry): string {
|
||||||
return fileGlyph(entry, this.settings.iconColors() === 'multi');
|
return fileGlyph(entry, this.settings.iconColors() === 'multi');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ import {
|
|||||||
mynaImage,
|
mynaImage,
|
||||||
mynaLink,
|
mynaLink,
|
||||||
mynaLock,
|
mynaLock,
|
||||||
mynaLogout,
|
|
||||||
mynaMusic,
|
mynaMusic,
|
||||||
mynaPlus,
|
mynaPlus,
|
||||||
mynaRefresh,
|
mynaRefresh,
|
||||||
@@ -60,7 +59,6 @@ export const APP_ICONS = {
|
|||||||
mynaImage,
|
mynaImage,
|
||||||
mynaLink,
|
mynaLink,
|
||||||
mynaLock,
|
mynaLock,
|
||||||
mynaLogout,
|
|
||||||
mynaMusic,
|
mynaMusic,
|
||||||
mynaPlus,
|
mynaPlus,
|
||||||
mynaRefresh,
|
mynaRefresh,
|
||||||
|
|||||||
Reference in New Issue
Block a user