From 998c7e1c09d0da4c7c8ac0ebc13b5b4b48786656 Mon Sep 17 00:00:00 2001 From: wvffle Date: Thu, 21 Jul 2022 21:58:39 +0000 Subject: [PATCH] Fix radio buttons --- front/src/components/radios/Button.vue | 2 +- front/src/store/radios.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/components/radios/Button.vue b/front/src/components/radios/Button.vue index b3d70c6f7..b8013cbed 100644 --- a/front/src/components/radios/Button.vue +++ b/front/src/components/radios/Button.vue @@ -31,7 +31,7 @@ const running = computed(() => { store.state.radios.current?.customRadioId === props.customRadioId && ( typeof props.objectId === 'string' || - store.state.radios.current?.objectId.fullUsername === props.objectId?.fullUsername + store.state.radios.current?.objectId?.fullUsername === props.objectId?.fullUsername ) }) diff --git a/front/src/store/radios.ts b/front/src/store/radios.ts index 63c1ae617..747de57f7 100644 --- a/front/src/store/radios.ts +++ b/front/src/store/radios.ts @@ -22,7 +22,7 @@ export interface CurrentRadio { // TODO (wvffle): Find correct type customRadioId: unknown config: RadioConfig - objectId: ObjectId + objectId: ObjectId | null } // TODO (wvffle): Find correct type