forked from TWS/kalkutago
Fix updates
This commit is contained in:
parent
a60a4c4885
commit
e33ce8b1a8
2 changed files with 26 additions and 21 deletions
|
|
@ -9,7 +9,7 @@ import { Track } from '../track';
|
|||
|
||||
const props = defineProps<{ date: Date, track: Track }>()
|
||||
|
||||
const isSet = computed(() => props.track.isSetOn(props.date))
|
||||
const isSet = computed(() => state.tracks.find(track => track.id === props.track.id)?.isSetOn(props.date))
|
||||
|
||||
const className = computed(() => isSet.value ? "button is-rounded is-info" : "button is-rounded")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue