File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 1616 <v-card-text >
1717 <v-row >
1818 <v-col
19- v-for =" output_extension in item.output_extensions "
20- :key =" output_extension "
19+ v-for =" output in item.outputs "
20+ :key =" output.extension "
2121 cols =" auto"
2222 class =" pa-0"
2323 >
24- <v-card
25- class =" card ma-2"
26- color =" primary"
27- hover
28- @click =" set_variables(item.geode_object, output_extension)"
24+ <v-tooltip
25+ :disabled =" output.is_saveable"
26+ text =" Data not saveable with this file extension"
27+ location =" bottom"
2928 >
30- <v-card-title align =" center" >
31- {{ output_extension }}
32- </v-card-title >
33- </v-card >
29+ <template v-slot :activator =" { props } " >
30+ <span v-bind =" props" >
31+ <v-card
32+ class =" card ma-2"
33+ :color =" output.is_saveable ? 'primary' : 'grey'"
34+ hover
35+ @click =" set_variables(item.geode_object, output.extension)"
36+ :disabled =" !output.is_saveable"
37+ >
38+ <v-card-title align =" center" >
39+ {{ output.extension }}
40+ </v-card-title >
41+ </v-card >
42+ </span >
43+ </template >
44+ </v-tooltip >
3445 </v-col >
3546 </v-row >
3647 </v-card-text >
You can’t perform that action at this time.
0 commit comments