mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: capitalization >.<
This commit is contained in:
1 parent
1efccd8029
commit
91945257fd
2 files changed
+5
-6
No files matched your search
-1
@@ -34,7 +34,6 @@
|
||||
|
||||
$: hasAttributes = !!$collection.attributes.length;
|
||||
|
||||
//Check if $collection.attributes has any attribute without status deleting, stuck or failed
|
||||
$: hasValidAttributes = $collection?.attributes?.some((attr) => attr.status === 'available');
|
||||
</script>
|
||||
|
||||
|
||||
+5
-5
@@ -52,17 +52,17 @@
|
||||
// Constants
|
||||
const databaseId = $page.params.database;
|
||||
const oneWay = [
|
||||
{ value: 'onetoone', label: 'One to one' },
|
||||
{ value: 'onetomany', label: 'One to many' }
|
||||
{ value: 'oneToOne', label: 'One to one' },
|
||||
{ value: 'oneToMany', label: 'One to many' }
|
||||
];
|
||||
const twoWay = [
|
||||
...oneWay,
|
||||
{ value: 'manytoone', label: 'Many to one' },
|
||||
{ value: 'manytomany', label: 'Many to many' }
|
||||
{ value: 'manyToOne', label: 'Many to one' },
|
||||
{ value: 'manyToMany', label: 'Many to many' }
|
||||
];
|
||||
|
||||
const deleteOptions = [
|
||||
{ value: 'setnull', label: 'Null' },
|
||||
{ value: 'setNull', label: 'Null' },
|
||||
{ value: 'cascade', label: 'Cascade' },
|
||||
{ value: 'restrict', label: 'Restrict' }
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user