From fc7f070f9f05bfc62c87f76862336f04166bd0d7 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Thu, 19 Dec 2024 03:58:13 +0800 Subject: [PATCH] admin: Remove `selectableIds` from Main List ... as it's useless most of the time --- packages/admin/app/components/playlist/MainList.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/admin/app/components/playlist/MainList.vue b/packages/admin/app/components/playlist/MainList.vue index e85cca6..eed2aad 100644 --- a/packages/admin/app/components/playlist/MainList.vue +++ b/packages/admin/app/components/playlist/MainList.vue @@ -21,7 +21,9 @@ @@ -30,12 +32,12 @@ @@ -375,7 +377,6 @@ function scrollList (position: 'top' | 'bottom') { } } -const selectableIds = computed>(() => props.data.map(song => song.$id)) const selectedIds = ref>(new Set()) interface ModifyTarget {