From a1069225c0741cbc763c8e472a2280f27e6ece29 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Fri, 25 Oct 2024 01:07:54 +0200 Subject: [PATCH] Fixed missing penis breaking edit page. --- pages/actors/@actorId/edit/+Page.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/actors/@actorId/edit/+Page.vue b/pages/actors/@actorId/edit/+Page.vue index 31167b1..949175c 100644 --- a/pages/actors/@actorId/edit/+Page.vue +++ b/pages/actors/@actorId/edit/+Page.vue @@ -902,8 +902,8 @@ const fields = computed(() => [ key: 'penis', type: 'penis', value: { - penisLength: actor.value.penisLength.imperial, - penisGirth: actor.value.penisGirth.imperial, + penisLength: actor.value.penisLength?.imperial, + penisGirth: actor.value.penisGirth?.imperial, isCircumcised: actor.value.isCircumcised, }, },