+ {#if widget.item.type === "aggregate"}
+
+ {/if}
+
diff --git a/apps/frontend/src/lib/store/modal.store.ts b/apps/frontend/src/lib/store/modal.store.ts
index 1309ea49b..0f49c6c51 100644
--- a/apps/frontend/src/lib/store/modal.store.ts
+++ b/apps/frontend/src/lib/store/modal.store.ts
@@ -22,6 +22,7 @@ export const DUPLICATE_BASE_MODAL = "duplicateBase" as const
export const UPDATE_BASE_MODAL = "updateBase" as const
export const DELETE_TABLE_MODAL = "deleteTable" as const
export const IMPORT_TEMPLATE_MODAL = "importTemplate" as const
+export const VIEW_WIDGET_MODAL = "viewWidget" as const
type ModalType =
| typeof CREATE_TABLE_MODAL
@@ -42,6 +43,7 @@ type ModalType =
| typeof DELETE_TABLE_MODAL
| typeof DUPLICATE_BASE_MODAL
| typeof IMPORT_TEMPLATE_MODAL
+ | typeof VIEW_WIDGET_MODAL
export const toggleModal = (type: ModalType) => {
modal.update(($modal) => {
diff --git a/apps/frontend/src/lib/store/table.store.ts b/apps/frontend/src/lib/store/table.store.ts
index cbb3a64e2..c680e22b6 100644
--- a/apps/frontend/src/lib/store/table.store.ts
+++ b/apps/frontend/src/lib/store/table.store.ts
@@ -1,7 +1,7 @@
import { page } from "$app/stores"
import type { TableDo } from "@undb/table"
-import { getContext, setContext } from "svelte"
-import { derived, type Writable } from "svelte/store"
+import { getContext,setContext } from "svelte"
+import { derived,type Writable } from "svelte/store"
export function setTable(table: Writable