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