Fix radio buttons
This commit is contained in:
parent
db167ad80b
commit
998c7e1c09
|
@ -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
|
||||
)
|
||||
})
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue