Fix failing test

This commit is contained in:
Matej Bačo committed 2023-04-12 08:55:01 +02:00
1 parent 3aab5581af
commit 872fb2ee12
1 file changed
-2
@@ -44,7 +44,6 @@
import arrowTwo from './arrow-two.svg';
import { camelize } from '$lib/helpers/string';
import { SelectSearchItem } from '$lib/elements';
import { isRelationshipToMany } from '../document-[document]/attributes/store';
// Props
export let data: Models.AttributeRelationship;
@@ -102,7 +101,6 @@
$: getCollections(search).then((res) => (collectionList = res));
$: collections = collectionList?.collections?.filter((n) => n.$id !== $collection.$id) ?? [];
$: isToMany = isRelationshipToMany(data);
$: if (editing) {
way = data.twoWay ? 'two' : 'one';