summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/global/StackingRouterView.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 13:20:11 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 13:20:11 +0900
commitcfd4d7c57b565fc5c592f0a03079c4a7527d4f7e (patch)
tree665f874634c4afcec54502e0d2c1fa4b0ca8f5ad /packages/frontend/src/components/global/StackingRouterView.vue
parentbuild-misskey-js-with-types (#16471) (diff)
downloadmisskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.tar.gz
misskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.tar.bz2
misskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.zip
refactor
Diffstat (limited to 'packages/frontend/src/components/global/StackingRouterView.vue')
-rw-r--r--packages/frontend/src/components/global/StackingRouterView.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/global/StackingRouterView.vue b/packages/frontend/src/components/global/StackingRouterView.vue
index 9e47517244..4c56767608 100644
--- a/packages/frontend/src/components/global/StackingRouterView.vue
+++ b/packages/frontend/src/components/global/StackingRouterView.vue
@@ -87,7 +87,7 @@ router.useListener('change', ({ resolved }) => {
const fullPath = router.getCurrentFullPath();
if (tabs.value.some(tab => tab.routePath === routePath && deepEqual(resolved.props, tab.props))) {
- const newTabs = [];
+ const newTabs = [] as typeof tabs.value;
for (const tab of tabs.value) {
newTabs.push(tab);