From 5bbac3adfcefadee2de7c9145bfded0309ff5e79 Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Thu, 25 Jul 2024 13:28:26 +0200 Subject: [PATCH] WIP bracket list --- .../logic/RecursiveEasyDBDetailView.svelte | 5 ++-- src/components/utils/BracketList.svelte | 30 +++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 src/components/utils/BracketList.svelte diff --git a/src/components/logic/RecursiveEasyDBDetailView.svelte b/src/components/logic/RecursiveEasyDBDetailView.svelte index 038b825..5e206b5 100644 --- a/src/components/logic/RecursiveEasyDBDetailView.svelte +++ b/src/components/logic/RecursiveEasyDBDetailView.svelte @@ -16,6 +16,7 @@ import FieldLabel from "../fields/FieldLabel.svelte"; import NotImplemented from "../utils/NotImplemented.svelte"; import Waiting from "../utils/Waiting.svelte"; + import BracketList from "../utils/BracketList.svelte"; export let fields; export let data; @@ -114,13 +115,13 @@

{/if} - + {#each linkedSubData(data, table, firstField) as subdata}
  • {/each} -
    +
    {/if} diff --git a/src/components/utils/BracketList.svelte b/src/components/utils/BracketList.svelte new file mode 100644 index 0000000..2ac9e0f --- /dev/null +++ b/src/components/utils/BracketList.svelte @@ -0,0 +1,30 @@ + + + + + +
    + +
    +