mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: torsten review
This commit is contained in:
+3
-2
@@ -22,6 +22,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { feedback } from '$lib/stores/feedback';
|
||||
import { cronExpression, type UserBackupPolicy } from '$lib/helpers/backups';
|
||||
import { ID } from '@appwrite.io/console';
|
||||
|
||||
let showCreatePolicy = false;
|
||||
let policyCreateError: string;
|
||||
@@ -88,7 +89,7 @@
|
||||
cronExpression(policy);
|
||||
|
||||
return sdk.forProject.backups.createPolicy(
|
||||
policy.id,
|
||||
ID.unique(),
|
||||
['databases'],
|
||||
policy.retained,
|
||||
policy.schedule,
|
||||
@@ -153,7 +154,7 @@
|
||||
<div class="u-flex-vertical u-width-full-line">
|
||||
<ContainerHeader
|
||||
title="Backups"
|
||||
buttonText="Manual Backup"
|
||||
buttonText="Manual backup"
|
||||
buttonEvent="create_backup"
|
||||
buttonType="secondary"
|
||||
buttonDisabled={isDisabled}
|
||||
|
||||
+1
-2
@@ -21,10 +21,9 @@
|
||||
on:click={buttonMethod}
|
||||
disabled={buttonDisabled}
|
||||
text={buttonType === 'text'}
|
||||
class="small-radius-border-button"
|
||||
secondary={buttonType === 'secondary'}>
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
<span class="body-text-1">{buttonText}</span>
|
||||
{buttonText}
|
||||
</Button>
|
||||
</header>
|
||||
|
||||
|
||||
+1
-1
@@ -213,7 +213,7 @@
|
||||
class="small-radius-border-button"
|
||||
on:click={() => (showCreatePolicy = true)}>
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
<span class="text">Create Policy</span>
|
||||
<span class="text">Create policy</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user