mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: todo.
This commit is contained in:
1 parent
a56a8b7753
commit
4e7f622970
4 files changed
+12
-10
No files matched your search
@@ -39,7 +39,7 @@
|
||||
|
||||
<Popover let:toggle {placement} portal>
|
||||
<button on:mouseenter={(e) => toggle(e)}>
|
||||
{timeFromNow(time)}
|
||||
<slot>{timeFromNow(time)}</slot>
|
||||
</button>
|
||||
|
||||
<Layout.Stack gap="m" alignContent="flex-start" slot="tooltip">
|
||||
|
||||
+4
-7
@@ -27,6 +27,7 @@
|
||||
import { LabelCard } from '$lib/components/index.js';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { Tooltip } from '@appwrite.io/pink-svelte';
|
||||
import DualTimeView from '$lib/components/dualTimeView.svelte';
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
@@ -155,13 +156,9 @@
|
||||
<TableRow>
|
||||
<TableCellCheck id={backup.$id} bind:selectedIds={selectedBackups} />
|
||||
<TableCell title={backup.$createdAt}>
|
||||
<!-- TODO: @itznotabug, use DualTimeView and use a slot for custom title -->
|
||||
<Tooltip>
|
||||
<span>
|
||||
{cleanBackupName(backup)}
|
||||
</span>
|
||||
<span slot="tooltip">{timeFromNow(backup.$createdAt)}</span>
|
||||
</Tooltip>
|
||||
<DualTimeView time={backup.$createdAt}>
|
||||
{cleanBackupName(backup)}
|
||||
</DualTimeView>
|
||||
</TableCell>
|
||||
<TableCell title="Backup Size">
|
||||
{#if backup.status === 'completed'}
|
||||
|
||||
+5
-1
@@ -269,7 +269,11 @@
|
||||
</div>
|
||||
</FloatingActionBar>
|
||||
|
||||
<Modal title="Delete Documents" bind:show={showDelete} onSubmit={handleDelete} dismissible={!deleting}>
|
||||
<Modal
|
||||
title="Delete Documents"
|
||||
bind:show={showDelete}
|
||||
onSubmit={handleDelete}
|
||||
dismissible={!deleting}>
|
||||
<div>
|
||||
<p class="text" data-private>
|
||||
Are you sure you want to delete <b>{selectedDb.length}</b>
|
||||
|
||||
@@ -76,7 +76,8 @@
|
||||
onMount(() => {
|
||||
return uploader.subscribe(() => {
|
||||
isUploading = $uploader.files.some(
|
||||
(file) => file.status !== 'success' && file.progress < 100 && file.status !== 'failed',
|
||||
(file) =>
|
||||
file.status !== 'success' && file.progress < 100 && file.status !== 'failed'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user