|
|
|
@ -1,7 +1,14 @@ |
|
|
|
<script> |
|
|
|
import { store, automationStore } from "builderStore" |
|
|
|
import { roles, flags } from "stores/backend" |
|
|
|
import { Icon, Tabs, Tab, Heading, notifications } from "@budibase/bbui" |
|
|
|
import { |
|
|
|
Icon, |
|
|
|
Tabs, |
|
|
|
Tab, |
|
|
|
Heading, |
|
|
|
notifications, |
|
|
|
Button, |
|
|
|
} from "@budibase/bbui" |
|
|
|
import RevertModal from "components/deploy/RevertModal.svelte" |
|
|
|
import VersionModal from "components/deploy/VersionModal.svelte" |
|
|
|
import DeployNavigation from "components/deploy/DeployNavigation.svelte" |
|
|
|
@ -23,10 +30,6 @@ |
|
|
|
$layout.children.find(layout => $isActive(layout.path))?.title ?? "data" |
|
|
|
) |
|
|
|
|
|
|
|
const previewApp = () => { |
|
|
|
window.open(`/${application}`) |
|
|
|
} |
|
|
|
|
|
|
|
async function getPackage() { |
|
|
|
try { |
|
|
|
store.actions.reset() |
|
|
|
@ -110,12 +113,6 @@ |
|
|
|
<div class="toprightnav"> |
|
|
|
<VersionModal /> |
|
|
|
<RevertModal /> |
|
|
|
<Icon |
|
|
|
name="Visibility" |
|
|
|
tooltip="Open app preview" |
|
|
|
hoverable |
|
|
|
on:click={previewApp} |
|
|
|
/> |
|
|
|
<DeployNavigation {application} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|