Skip to content

Commit b097ae9

Browse files
committed
feat: yet again, yet again, fix conflict logic
1 parent a5cb5d1 commit b097ae9

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

logic/classes.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ export function buttonOptions(checkClass: any) {
2222
}
2323
if (checkClass.conflicts._any) {
2424
icon = 'mdi-alert-circle'
25-
tooltips = [
26-
...tooltips,
27-
...checkClass.conflicts.time.map((c: any) => 'Conflict: ' + c.name),
28-
]
29-
color = 'error'
25+
; (tooltips = checkClass.conflicts.time.map(
26+
(c: any) => 'Conflict: ' + c.name
27+
)),
28+
(color = 'error')
3029
disabled = true
3130
}
3231
let availability: string = checkClass.available

0 commit comments

Comments
 (0)