Removed unused variables, hid the automation/backups tabs and removed the disable flag from the app version settings menu
This commit is contained in:
parent
a8a57a9722
commit
51952ee0f4
|
@ -209,12 +209,14 @@
|
||||||
navigateTab={handleTabChange}
|
navigateTab={handleTabChange}
|
||||||
/>
|
/>
|
||||||
</Tab>
|
</Tab>
|
||||||
|
{#if false}
|
||||||
<Tab title="Automation History">
|
<Tab title="Automation History">
|
||||||
<div class="container">Automation History contents</div>
|
<div class="container">Automation History contents</div>
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="Backups">
|
<Tab title="Backups">
|
||||||
<div class="container">Backups contents</div>
|
<div class="container">Backups contents</div>
|
||||||
</Tab>
|
</Tab>
|
||||||
|
{/if}
|
||||||
<Tab title="Settings">
|
<Tab title="Settings">
|
||||||
<SettingsTab app={selectedApp} />
|
<SettingsTab app={selectedApp} />
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|
|
@ -128,6 +128,7 @@
|
||||||
</div>
|
</div>
|
||||||
</DashCard>
|
</DashCard>
|
||||||
</div>
|
</div>
|
||||||
|
{#if false}
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<DashCard
|
<DashCard
|
||||||
title={"Automation History"}
|
title={"Automation History"}
|
||||||
|
@ -165,6 +166,7 @@
|
||||||
<div class="backups-content">test</div>
|
<div class="backups-content">test</div>
|
||||||
</DashCard>
|
</DashCard>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue