web: remove future feature placeholders

This commit is contained in:
wukko
2024-06-25 19:41:38 +06:00
parent 1f88a211aa
commit 49e2df425d
5 changed files with 4 additions and 32 deletions

View File

@@ -4,11 +4,10 @@
export let tabName: string;
export let tabLink: string;
const firstTabs = [
const firstTabPage = [
"save",
"trim",
"crop",
"convert"
"settings",
"updates"
];
let tab: HTMLElement;
@@ -21,7 +20,7 @@
const showTab = (e: HTMLElement | undefined) => {
if (e) {
e.scrollIntoView({
inline: firstTabs.includes(tabName) ? 'end' : 'start',
inline: firstTabPage.includes(tabName) ? 'end' : 'start',
behavior: 'smooth'
});
}