From 813397ece7ca500f9a33967810d075aeb4175797 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sat, 15 Aug 2026 00:03:29 +0200 Subject: [PATCH] chore: fix linting --- src/pages/account/miieditor/index.vue | 12 +- src/pages/index.vue | 726 +++++++++++++------------- 2 files changed, 364 insertions(+), 374 deletions(-) diff --git a/src/pages/account/miieditor/index.vue b/src/pages/account/miieditor/index.vue index be2278a..084ce1b 100644 --- a/src/pages/account/miieditor/index.vue +++ b/src/pages/account/miieditor/index.vue @@ -230,8 +230,7 @@ function setActiveTab(newTab: string) { // open the subtab with the selected element in it setActiveSubTab( - miiEditorJSON.tabs.filter(t => t.name === newTab)[0].subTabs?.[0].name || - '', + miiEditorJSON.tabs.filter(t => t.name === newTab)?.[0]?.subTabs?.[0]?.name ?? '', newTab ); activeTab.value = newTab; @@ -305,9 +304,6 @@ async function handleSave() {