From c5360e1dcb3fe2028b14627252e660dd1fabaf72 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 13 Oct 2023 12:53:18 +0100 Subject: [PATCH] Don't need to put into options obj, reaction does work. --- .../client/src/components/app/forms/RelationshipField.svelte | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index da21d8610c..2c86a8abca 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -121,10 +121,6 @@ await fetch.update({ query: { equal: { _id: defaultVal } }, }) - const defaultRow = $fetch.rows?.[0] - if (defaultRow) { - optionsObj[defaultRow._id] = defaultRow - } hasFetchedDefaultValue = true } await fetch.update({