|
|
@ -9,7 +9,6 @@ |
|
|
Modal, |
|
|
Modal, |
|
|
} from "@budibase/bbui" |
|
|
} from "@budibase/bbui" |
|
|
import { store } from "builderStore" |
|
|
import { store } from "builderStore" |
|
|
import { auth } from "stores/portal" |
|
|
|
|
|
import clientPackage from "@budibase/client/package.json" |
|
|
import clientPackage from "@budibase/client/package.json" |
|
|
import VersionModal from "components/deploy/VersionModal.svelte" |
|
|
import VersionModal from "components/deploy/VersionModal.svelte" |
|
|
import UpdateAppModal from "components/start/UpdateAppModal.svelte" |
|
|
import UpdateAppModal from "components/start/UpdateAppModal.svelte" |
|
|
@ -24,8 +23,6 @@ |
|
|
|
|
|
|
|
|
$: updateAvailable = clientPackage.version !== $store.version |
|
|
$: updateAvailable = clientPackage.version !== $store.version |
|
|
$: appUrl = `${window.origin}/app${app?.url}` |
|
|
$: appUrl = `${window.origin}/app${app?.url}` |
|
|
$: lockedBy = app?.lockedBy |
|
|
|
|
|
$: lockedByYou = $auth.user.email === lockedBy?.email |
|
|
|
|
|
$: appDeployed = app.status === AppStatus.DEPLOYED |
|
|
$: appDeployed = app.status === AppStatus.DEPLOYED |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
@ -84,11 +81,7 @@ |
|
|
fixes. |
|
|
fixes. |
|
|
</p> |
|
|
</p> |
|
|
<div class="page-action"> |
|
|
<div class="page-action"> |
|
|
<Button |
|
|
<Button cta on:click={versionModal.show()}>Update App</Button> |
|
|
cta |
|
|
|
|
|
on:click={versionModal.show()} |
|
|
|
|
|
disabled={!updateAvailable}>Update App</Button |
|
|
|
|
|
> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</Body> |
|
|
</Body> |
|
|
</Layout> |
|
|
</Layout> |
|
|
|