fix: capitalization >.<

This commit is contained in:
Arman committed 2023-03-28 15:19:38 +02:00
1 parent 1efccd8029
commit 91945257fd
2 files changed
+5 -6

No files matched your search

@@ -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>
@@ -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' }
];