This commit is contained in:
Dean 2023-06-20 15:02:53 +01:00
parent 3607774d7e
commit f178b86266
7 changed files with 8 additions and 36 deletions

View File

@ -3,7 +3,6 @@
notifications,
Popover,
Layout,
Heading,
Body,
Button,
ActionButton,
@ -22,7 +21,6 @@
import { checkIncomingDeploymentStatus } from "components/deploy/utils"
import { API } from "api"
import { onMount } from "svelte"
import DeployModal from "components/deploy/DeployModal.svelte"
import { apps } from "stores/portal"
import {
store,
@ -31,7 +29,7 @@
} from "builderStore"
import TourWrap from "components/portal/onboarding/TourWrap.svelte"
import { TOUR_STEP_KEYS } from "components/portal/onboarding/tours.js"
import { url, goto } from "@roxi/routify"
import { goto } from "@roxi/routify"
import { isEqual, cloneDeep } from "lodash"
export let application
@ -79,7 +77,7 @@
let appMetaUpdated = false
let appMetaInitialised = false
const unsub = store.subscribe(state => {
store.subscribe(state => {
let { name, url: appUrl, navigation, theme, customTheme, icon } = state
const update = {
name,
@ -218,7 +216,7 @@
try {
publishing = true
let published = await API.publishAppChanges($store.appId)
await API.publishAppChanges($store.appId)
notifications.send("App published", {
type: "success",

View File

@ -1,5 +1,5 @@
<script>
import { Layout, Input, notifications } from "@budibase/bbui"
import { Input, notifications } from "@budibase/bbui"
import { goto } from "@roxi/routify"
import { store } from "builderStore"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"

View File

@ -1,12 +1,5 @@
<script>
import {
Input,
Modal,
notifications,
ModalContent,
ActionButton,
Link,
} from "@budibase/bbui"
import { Input, Modal, notifications, ModalContent } from "@budibase/bbui"
import { store } from "builderStore"
import { API } from "api"

View File

@ -4,15 +4,12 @@
import { auth } from "stores/portal"
import { TENANT_FEATURE_FLAGS, isEnabled } from "helpers/featureFlags"
import {
ActionMenu,
MenuItem,
Icon,
Tabs,
Tab,
Heading,
Modal,
notifications,
Button,
} from "@budibase/bbui"
import AppActions from "components/deploy/AppActions.svelte"
import { API } from "api"

View File

@ -1,13 +1,7 @@
<script>
import { Content, SideNav, SideNavItem } from "components/portal/page"
import { Page, Layout, Input, notifications } from "@budibase/bbui"
import { url, isActive, layout, goto } from "@roxi/routify"
import { capitalise } from "helpers"
import { store } from "builderStore"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
import { apps } from "stores/portal"
import { API } from "api"
import { Page, Layout } from "@budibase/bbui"
import { url, isActive } from "@roxi/routify"
import DeleteModal from "components/deploy/DeleteModal.svelte"
let deleteModal

View File

@ -5,9 +5,6 @@
Heading,
Divider,
ActionButton,
Helpers,
Icon,
notifications,
Modal,
} from "@budibase/bbui"
import { AppStatus } from "constants"

View File

@ -1,12 +1,5 @@
<script>
import {
redirect,
isChangingPage,
page,
isActive,
layout,
route,
} from "@roxi/routify"
import { redirect } from "@roxi/routify"
$redirect("../settings/automation-history")
</script>