From 569bfa0d57a26941281850d88603765f7d75a613 Mon Sep 17 00:00:00 2001 From: Jonas <jonas.zohren@tu-dortmund.de> Date: Wed, 10 Mar 2021 12:01:07 +0100 Subject: [PATCH] Refactoring: Moved method to utils --- src/DialogSetComponent.svelte | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/DialogSetComponent.svelte b/src/DialogSetComponent.svelte index bb0977b..af30fc1 100644 --- a/src/DialogSetComponent.svelte +++ b/src/DialogSetComponent.svelte @@ -11,13 +11,6 @@ function switchDialog(targetDialog: string) { currentDialog = dialogs[targetDialog]; } - - function checkForInvalidDialogReferences() { - const allDialogKeys = Object.keys(dialogs); - for (const dialogName of allDialogKeys) { - // TODO check all buttons for invalid references - } - } </script> <SingleDialogComponent -- GitLab