From f7dbb4c31bb51ec9d3ad7744a1b0546311d30355 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Fri, 14 Aug 2020 14:36:51 +0100 Subject: [PATCH] removed CreateEditView (not used) --- .../modals/CreateEditView.svelte | 126 ------------------ .../database/ModelDataTable/modals/index.js | 1 - 2 files changed, 127 deletions(-) delete mode 100644 packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte deleted file mode 100644 index 62620e88a6..0000000000 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte +++ /dev/null @@ -1,126 +0,0 @@ - - -
- -

Create / Edit View

-
-
- {#if $store.errors && $store.errors.length > 0} - - {/if} -
-
-
- -
-
-
- {#each Object.values(SNIPPET_EDITORS) as snippetType} - (currentSnippetEditor = snippetType)}> - {snippetType} - - {/each} - {#if currentSnippetEditor === SNIPPET_EDITORS.MAP} - - {:else if currentSnippetEditor === SNIPPET_EDITORS.FILTER} - - {:else if currentSnippetEditor === SNIPPET_EDITORS.REDUCE} - - {/if} -
-
-
-
- Delete -
- Save -
- - - diff --git a/packages/builder/src/components/database/ModelDataTable/modals/index.js b/packages/builder/src/components/database/ModelDataTable/modals/index.js index bb49df8746..6bd9691228 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/index.js +++ b/packages/builder/src/components/database/ModelDataTable/modals/index.js @@ -1,4 +1,3 @@ export { default as DeleteRecordModal } from "./DeleteRecord.svelte" export { default as CreateEditRecordModal } from "./CreateEditRecord.svelte" -export { default as CreateEditViewModal } from "./CreateEditView.svelte" export { default as CreateUserModal } from "./CreateUser.svelte"