- import { peekStore, dataSourceStore, notificationStore } from "../store"
- import { Modal, ModalContent, Button } from "@budibase/bbui"
+ import {
+ peekStore,
+ dataSourceStore,
+ notificationStore,
+ routeStore,
+ } from "../store"
+ import { Modal, ModalContent, ActionButton } from "@budibase/bbui"
import { onDestroy } from "svelte"
let iframe
@@ -44,6 +49,11 @@
iframe.contentWindow.removeEventListener("notification", proxyNotification)
}
+ const handleFullscreen = () => {
+ routeStore.actions.navigate($peekStore.url)
+ handleCancel()
+ }
+
$: {
if (iframe && !listenersAttached) {
attachListeners()
@@ -62,6 +72,14 @@
{#if $peekStore.showPeek}
+
+
+ Full screen
+
+
+ Close
+
+