Removed the license agreement toggle
This commit is contained in:
parent
1d97e2a908
commit
eb3e38bb61
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { organisation, auth, admin } from "stores/portal"
|
||||
import { organisation, auth } from "stores/portal"
|
||||
import { onMount } from "svelte"
|
||||
|
||||
let loaded = false
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
</Layout>
|
||||
{/if}
|
||||
|
||||
{#if cloud && $organisation.licenseAgreementEnabled}
|
||||
{#if cloud}
|
||||
<Body size="xs" textAlign="center">
|
||||
By using Budibase Cloud
|
||||
<br />
|
||||
|
|
|
@ -192,7 +192,6 @@
|
|||
emailBrandingEnabled: $organisation.emailBrandingEnabled,
|
||||
loginHeading: $organisation.loginHeading,
|
||||
loginButton: $organisation.loginButton,
|
||||
licenseAgreementEnabled: $organisation.licenseAgreementEnabled,
|
||||
testimonialsEnabled: $organisation.testimonialsEnabled,
|
||||
metaDescription: $organisation.metaDescription,
|
||||
metaImageUrl: $organisation.metaImageUrl,
|
||||
|
@ -344,16 +343,6 @@
|
|||
value={!config.testimonialsEnabled}
|
||||
disabled={!brandingEnabled || saving}
|
||||
/>
|
||||
<Toggle
|
||||
text={"Remove license agreement"}
|
||||
on:change={e => {
|
||||
let clone = { ...config }
|
||||
clone.licenseAgreementEnabled = !e.detail
|
||||
config = clone
|
||||
}}
|
||||
value={!config.licenseAgreementEnabled}
|
||||
disabled={!brandingEnabled || saving}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,6 @@ const DEFAULT_CONFIG = {
|
|||
faviconUrl: undefined,
|
||||
emailBrandingEnabled: true,
|
||||
testimonialsEnabled: true,
|
||||
licenseAgreementEnabled: true,
|
||||
platformTitle: "Budibase",
|
||||
loginHeading: undefined,
|
||||
loginButton: undefined,
|
||||
|
|
|
@ -33,7 +33,6 @@ export interface SettingsInnerConfig {
|
|||
|
||||
emailBrandingEnabled?: boolean
|
||||
testimonialsEnabled?: boolean
|
||||
licenseAgreementEnabled?: boolean
|
||||
platformTitle?: string
|
||||
loginHeading?: string
|
||||
loginButton?: string
|
||||
|
|
Loading…
Reference in New Issue