Merge pull request #1500 from appwrite/fix-hide-backups-column

fix: hide backups column on self-hosted
This commit is contained in:
Steven Nguyen authored and GitHub committed 2024-11-06 11:56:24 -08:00
commit ed4ce9f809
1 file changed
+2 -1
@@ -1,10 +1,11 @@
import type { Column } from '$lib/helpers/types';
import { isCloud } from '$lib/system';
import { writable } from 'svelte/store';
export const columns = writable<Column[]>([
{ id: '$id', title: 'Database ID', type: 'string', show: true, width: 150 },
{ id: 'name', title: 'Name', type: 'string', show: true, width: 120 },
{ id: 'backup', title: 'Backups', type: 'string', show: true, width: 120 },
isCloud && { id: 'backup', title: 'Backups', type: 'string', show: true, width: 120 },
{ id: '$createdAt', title: 'Created', type: 'datetime', show: true, width: 120 },
{ id: '$updatedAt', title: 'Updated', type: 'datetime', show: true, width: 120 }
]);