web/Sidebar: hide unfinished tabs

This commit is contained in:
wukko 2024-08-16 01:55:25 +06:00
parent b9fabdc327
commit 275c982c80
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 3 additions and 1 deletions

View file

@ -32,12 +32,14 @@
<SidebarTab tabName="save" tabLink="/"> <SidebarTab tabName="save" tabLink="/">
<IconDownload /> <IconDownload />
</SidebarTab> </SidebarTab>
<!--
<SidebarTab tabName="convert" tabLink="/convert"> <SidebarTab tabName="convert" tabLink="/convert">
<IconTransform /> <IconTransform />
</SidebarTab> </SidebarTab>
<SidebarTab tabName="shrink" tabLink="/shrink"> <SidebarTab tabName="shrink" tabLink="/shrink">
<IconArrowsMinimize /> <IconArrowsMinimize />
</SidebarTab> </SidebarTab>
-->
<SidebarTab tabName="remux" tabLink="/remux"> <SidebarTab tabName="remux" tabLink="/remux">
<IconRepeat /> <IconRepeat />
</SidebarTab> </SidebarTab>

View file

@ -6,7 +6,7 @@
export let tabName: string; export let tabName: string;
export let tabLink: string; export let tabLink: string;
const firstTabPage = ["save", "convert", "shrink", "remux"]; const firstTabPage = ["save", "remux", "settings", "donate"];
let tab: HTMLElement; let tab: HTMLElement;