mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
use const
This commit is contained in:
+5
-3
@@ -39,9 +39,11 @@
|
||||
footer?: Snippet;
|
||||
} = $props();
|
||||
|
||||
let effectiveStatus = $derived(getEffectiveBuildStatus(deployment, $regionalConsoleVariables));
|
||||
let displayStatus = $derived(effectiveStatus === 'finalizing' ? 'ready' : effectiveStatus);
|
||||
let totalSize = $derived(humanFileSize(deployment?.totalSize ?? 0));
|
||||
const effectiveStatus = $derived(
|
||||
getEffectiveBuildStatus(deployment, $regionalConsoleVariables)
|
||||
);
|
||||
const displayStatus = $derived(effectiveStatus === 'finalizing' ? 'ready' : effectiveStatus);
|
||||
const totalSize = $derived(humanFileSize(deployment?.totalSize ?? 0));
|
||||
</script>
|
||||
|
||||
{#snippet titleSnippet(title: string)}
|
||||
|
||||
+2
-2
@@ -40,10 +40,10 @@
|
||||
|
||||
let { data } = $props();
|
||||
|
||||
let effectiveStatus = $derived(
|
||||
const effectiveStatus = $derived(
|
||||
getEffectiveBuildStatus(data.deployment, $regionalConsoleVariables)
|
||||
);
|
||||
let displayStatus = $derived(effectiveStatus === 'finalizing' ? 'ready' : effectiveStatus);
|
||||
const displayStatus = $derived(effectiveStatus === 'finalizing' ? 'ready' : effectiveStatus);
|
||||
let showDelete = $state(false);
|
||||
let showCancel = $state(false);
|
||||
let showActivate = $state(false);
|
||||
|
||||
Reference in New Issue
Block a user