From 1d4005dd0965e44c5973b4c7326310f6b5bc2db6 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Mon, 31 Aug 2020 10:12:06 +0200 Subject: [PATCH] groups components and table in separate categories --- .../userInterface/BindingDropdown.svelte | 28 ++++++++++++++----- packages/builder/yarn.lock | 8 +++--- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/components/userInterface/BindingDropdown.svelte b/packages/builder/src/components/userInterface/BindingDropdown.svelte index 7dd67f3784..bc291aed10 100644 --- a/packages/builder/src/components/userInterface/BindingDropdown.svelte +++ b/packages/builder/src/components/userInterface/BindingDropdown.svelte @@ -1,4 +1,5 @@
-
    - {#each bindableProperties as { readableBinding }} -
  • addToText(readableBinding)}>{readableBinding}
  • - {/each} -
+ {#if context} + +
    + {#each context as { readableBinding }} +
  • addToText(readableBinding)}>{readableBinding}
  • + {/each} +
+ {/if} + {#if instance} + +
    + {#each instance as { readableBinding }} +
  • addToText(readableBinding)}>{readableBinding}
  • + {/each} +
+ {/if}
@@ -40,7 +53,7 @@