mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Run Linter
This commit is contained in:
1 parent
8984e161d3
commit
ecb1b55965
2 files changed
+6
-3
No files matched your search
@@ -48,7 +48,7 @@ export const ResourcesFriendly = {
|
||||
collection: { singular: 'Collection', plural: 'Collections' },
|
||||
index: { singular: 'Index', plural: 'Indexes' },
|
||||
attribute: { singular: 'Attribute', plural: 'Attributes' },
|
||||
document: { singular: 'Document', plural: 'Documents' },
|
||||
document: { singular: 'Document', plural: 'Documents' }
|
||||
};
|
||||
|
||||
const resources = Object.keys(ResourcesFriendly);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
import { parseIfString } from '$lib/helpers/object';
|
||||
import { formatNum } from '$lib/helpers/string';
|
||||
import type { Models } from '@appwrite.io/console';
|
||||
import { ResourcesFriendly } from '$lib/stores/migration'
|
||||
import { ResourcesFriendly } from '$lib/stores/migration';
|
||||
|
||||
export let migrations: Models.Migration[] = [];
|
||||
export let migrationId: string = null;
|
||||
@@ -107,7 +107,10 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span class="u-capitalize">{(total(Object.values(entityCounter)) > 1) ? ResourcesFriendly[entity].plural : ResourcesFriendly[entity].singular}</span>
|
||||
<span class="u-capitalize"
|
||||
>{total(Object.values(entityCounter)) > 1
|
||||
? ResourcesFriendly[entity].plural
|
||||
: ResourcesFriendly[entity].singular}</span>
|
||||
<span class="inline-tag">{totalItems(entityCounter)}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user