diff --git a/frontend/src/ts/commandline/index.ts b/frontend/src/ts/commandline/index.ts index f016b5cdc..bc266e9cd 100644 --- a/frontend/src/ts/commandline/index.ts +++ b/frontend/src/ts/commandline/index.ts @@ -16,7 +16,6 @@ import { isPopupVisible, } from "../utils/misc"; import { update as updateCustomThemesList } from "./lists/custom-themes-list"; -import { update as updateTagsCommands } from "./lists/tags"; import * as Skeleton from "../popups/skeleton"; import * as ManualRestart from "../test/manual-restart-tracker"; @@ -783,9 +782,6 @@ $(".pageTest").on("click", "#testModesNotice .textButton", (event) => { if (attr === undefined) return; const commands = CommandlineLists.getList(attr); if (commands !== undefined) { - if ($(event.currentTarget).attr("commands") === "tags") { - updateTagsCommands(); - } CommandlineLists.pushCurrent(commands); show(); } diff --git a/frontend/src/ts/commandline/lists/tags.ts b/frontend/src/ts/commandline/lists/tags.ts index 186599ccd..d3d7f0a98 100644 --- a/frontend/src/ts/commandline/lists/tags.ts +++ b/frontend/src/ts/commandline/lists/tags.ts @@ -119,4 +119,3 @@ function update(): void { } export default commands; -export { update }; diff --git a/frontend/src/ts/controllers/account-controller.ts b/frontend/src/ts/controllers/account-controller.ts index 5877e8b2f..bf097b8dc 100644 --- a/frontend/src/ts/controllers/account-controller.ts +++ b/frontend/src/ts/controllers/account-controller.ts @@ -41,7 +41,6 @@ import { hideFavoriteQuoteLength, showFavoriteQuoteLength, } from "../test/test-config"; -import { update as updateTagsCommands } from "../commandline/lists/tags"; import * as ConnectionState from "../states/connection"; import { navigate } from "./route-controller"; @@ -165,7 +164,6 @@ async function getDataAndInit(): Promise { UpdateConfig.saveFullConfigToLocalStorage(true); } AccountButton.loading(false); - updateTagsCommands(); TagController.loadActiveFromLocalStorage(); if (window.location.pathname === "/account") { LoadingPage.updateBar(90);