We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3f2e20 commit 9a5f3b8Copy full SHA for 9a5f3b8
1 file changed
logic/classes.ts
@@ -26,6 +26,17 @@ export function buttonOptions(checkClass: any) {
26
color = 'error'
27
disabled = true
28
}
29
+ let availability: string = checkClass.available
30
+ if (availability != 'Available') {
31
+ color = 'error'
32
+ disabled = true
33
+ tooltips = [
34
+ availability == 'UnKnown'
35
+ ? 'Not Available for an Unknown reason!'
36
+ : availability,
37
+ ]
38
+ if (checkClass.available == 'Full') icon = 'mdi-alert-plus'
39
+ }
40
41
let buttonOptions = {
42
icon,
0 commit comments