From dcf0b4f973ad56574cfe41a654193ae420dded9b Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Thu, 1 Oct 2020 21:03:22 +0100 Subject: [PATCH] Calculate: stats is only option - remove select --- .../database/DataTable/popovers/Calculate.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/database/DataTable/popovers/Calculate.svelte b/packages/builder/src/components/database/DataTable/popovers/Calculate.svelte index a736ff61e8..ca5b9cefd7 100644 --- a/packages/builder/src/components/database/DataTable/popovers/Calculate.svelte +++ b/packages/builder/src/components/database/DataTable/popovers/Calculate.svelte @@ -34,6 +34,7 @@ ) function saveView() { + if (!view.calculation) view.calculation = "stats" backendUiStore.actions.views.save(view) notifier.success(`View ${view.name} saved.`) analytics.captureEvent("Added View Calculate", { field: view.field }) @@ -50,14 +51,15 @@
Calculate
-

The

+ +

The statistics of