From b17b8661f232cb716d15ae70448cd798df0c353c Mon Sep 17 00:00:00 2001 From: YeonV Date: Wed, 31 Jan 2024 02:02:43 +0100 Subject: [PATCH] cleanup common scenes --- src/components/Dialogs/HostManager.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Dialogs/HostManager.tsx b/src/components/Dialogs/HostManager.tsx index 715ea6bb..161733c0 100644 --- a/src/components/Dialogs/HostManager.tsx +++ b/src/components/Dialogs/HostManager.tsx @@ -119,8 +119,7 @@ export default function HostManager() { const sceneKeys = allScenes.map((scenes) => Object.keys(scenes)); // Find the common keys - const commonKeys = sceneKeys.reduce((a, b) => a.filter(c => b.includes(c))); - + const commonKeys = sceneKeys.reduce((a, b) => a.filter(c => b.includes(c) && c !== 'blade-scene')); // Prepare an empty object for the final scenes const finalScenes: Record = {};