Fix radio buttons

This commit is contained in:
wvffle 2022-07-21 21:58:39 +00:00 committed by Georg Krause
parent db167ad80b
commit 998c7e1c09
2 changed files with 2 additions and 2 deletions

View File

@ -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
)
})

View File

@ -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