fix(ext/popup): replace inline ⤴ vault-tab button with GLYPH_VAULT_TAB
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
/// to the detail view.
|
/// to the detail view.
|
||||||
|
|
||||||
import { getState, setState, sendMessage, navigate, escapeHtml, openVaultTab } from '../../shared/state';
|
import { getState, setState, sendMessage, navigate, escapeHtml, openVaultTab } from '../../shared/state';
|
||||||
|
import { GLYPH_VAULT_TAB } from '../../shared/glyphs';
|
||||||
import type { ItemId, ItemType, ManifestEntry, Item } from '../../shared/types';
|
import type { ItemId, ItemType, ManifestEntry, Item } from '../../shared/types';
|
||||||
|
|
||||||
/// Extract the display hostname from an icon_hint or fallback to the first tag.
|
/// Extract the display hostname from an icon_hint or fallback to the first tag.
|
||||||
@@ -66,7 +67,7 @@ export function renderItemList(app: HTMLElement): void {
|
|||||||
<button class="btn" id="new-btn" style="font-size:11px;">+ new</button>
|
<button class="btn" id="new-btn" style="font-size:11px;">+ new</button>
|
||||||
<button class="btn" id="sync-btn" style="font-size:11px;">sync</button>
|
<button class="btn" id="sync-btn" style="font-size:11px;">sync</button>
|
||||||
<span style="flex:1;"></span>
|
<span style="flex:1;"></span>
|
||||||
<button class="btn" id="vault-btn" style="font-size:11px;" title="Open vault (Shift+F)">⤴</button>
|
<button class="btn" id="vault-btn" style="font-size:11px;" title="Open vault (Shift+F)">${GLYPH_VAULT_TAB}</button>
|
||||||
<button class="btn" id="settings-btn" style="font-size:11px;">settings</button>
|
<button class="btn" id="settings-btn" style="font-size:11px;">settings</button>
|
||||||
<button class="btn" id="lock-btn" style="font-size:11px;">lock</button>
|
<button class="btn" id="lock-btn" style="font-size:11px;">lock</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user