mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: updateBuild settings button logic
This commit is contained in:
1 parent
6ee3628ab2
commit
6b4cd2765b
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import CnameTable from '$lib/components/domains/cnameTable.svelte';
|
||||
import NameserverTable from '$lib/components/domains/nameserverTable.svelte';
|
||||
import { isCloud } from '$lib/system';
|
||||
import { Divider, Fieldset, Layout, Tabs } from '@appwrite.io/pink-svelte';
|
||||
|
||||
export let domain: string;
|
||||
@@ -34,7 +35,7 @@
|
||||
</div>
|
||||
{#if selectedTab === 'cname' && isSubDomain}
|
||||
<CnameTable {domain} {verified} />
|
||||
{:else}
|
||||
{:else if isCloud}
|
||||
<NameserverTable {domain} />
|
||||
{/if}
|
||||
<slot />
|
||||
|
||||
+2
-2
@@ -24,7 +24,7 @@
|
||||
let installCommand = site?.installCommand;
|
||||
let buildCommand = site?.buildCommand;
|
||||
let outputDirectory = site?.outputDirectory;
|
||||
let fallback = site.fallbackFile;
|
||||
let fallback = site?.fallbackFile;
|
||||
let isButtonDisabled = true;
|
||||
let showFallback = site.adapter === Adapter.Static;
|
||||
$: frameworkAdapterData = selectedFramework.adapters.find((a) => a.key === adapter);
|
||||
@@ -69,7 +69,7 @@
|
||||
buildCommand === site?.buildCommand &&
|
||||
outputDirectory === site?.outputDirectory &&
|
||||
selectedFramework?.key === site?.framework &&
|
||||
fallback === site?.fallbackFile &&
|
||||
fallback === (site?.fallbackFile || undefined) &&
|
||||
adapter === site?.adapter
|
||||
) {
|
||||
isButtonDisabled = true;
|
||||
|
||||
Reference in new issue
Block a user