mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Update filterable subscriber columns
Don't allow filtering on userName since the attribute isn't in the collection to be filtered. Allow filtering on type since it is available and it would be userful. Change $createdAt type to datetime to allow filtering by greater/less than.
This commit is contained in:
1 parent
075b7d730c
commit
f111ee9ea8
1 file changed
+3
-3
+3
-3
@@ -3,9 +3,9 @@ import { writable } from 'svelte/store';
|
||||
|
||||
export const columns = writable<Column[]>([
|
||||
{ id: '$id', title: 'Subscriber ID', type: 'string', show: true, width: 140 },
|
||||
{ id: 'userName', title: 'Name', type: 'string', show: true, width: 100 },
|
||||
{ id: 'userName', title: 'Name', type: 'string', show: true, filter: false, width: 100 },
|
||||
{ id: 'targetId', title: 'Target ID', type: 'string', show: true, width: 140 },
|
||||
{ id: 'target', title: 'Target', type: 'string', show: true, filter: false, width: 140 },
|
||||
{ id: 'type', title: 'Type', type: 'string', show: true, filter: false, width: 80 },
|
||||
{ id: '$createdAt', title: 'Created', type: 'string', show: true, width: 100 }
|
||||
{ id: 'type', title: 'Type', type: 'string', show: true, width: 80 },
|
||||
{ id: '$createdAt', title: 'Created', type: 'datetime', show: true, width: 100 }
|
||||
]);
|
||||
Reference in new issue
Block a user