From 4979cce1322c902fb2b24ca4bdcef0aa7abfcf45 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 28 Oct 2024 14:05:02 +0000 Subject: [PATCH] Udpate sort button to be a detail popover --- .../buttons/grid/GridSortButton.svelte | 79 ++++++++----------- 1 file changed, 32 insertions(+), 47 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/buttons/grid/GridSortButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/grid/GridSortButton.svelte index 4591b22b78..e86742e573 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/grid/GridSortButton.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/grid/GridSortButton.svelte @@ -1,12 +1,12 @@ -
- (open = !open)} - selected={open} - disabled={!columnOptions.length} - > - Sort - -
- - -
+ + + + Sort + + + - {#if $sort.column} -