1
0
Fork 0
forked from TWS/kalkutago

Fix updates

This commit is contained in:
D. Scott Boggs 2023-06-20 08:54:03 -04:00
parent a60a4c4885
commit e33ce8b1a8
2 changed files with 26 additions and 21 deletions

View file

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