Commit 64235a8 1 parent 602ac27 commit 64235a8 Copy full SHA for 64235a8
File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<tr >
3
3
<td class =" caption text-capitalize" v-text =" item.field" />
4
- <td class =" caption text-capitalize text-no-wrap " v-text =" condition" />
4
+ <td class =" caption text-capitalize" v-text =" condition" />
5
5
<td class =" caption text-truncate value" v-text =" item.value" />
6
- <td class =" caption text-capitalize text-no-wrap" v-text =" action" />
6
+ <td class =" caption action" >
7
+ <v-icon >{{ actionIcon }}</v-icon >
8
+ </td >
7
9
<td class =" text-center" >
8
10
<v-chip
9
- :color =" item.active ? 'green' : 'red '"
11
+ :color =" item.active ? 'green' : 'grey '"
10
12
outlined
11
13
x-small
12
14
v-text =" item.active ? 'active' : 'inactive'"
@@ -48,10 +50,10 @@ export default class RuleTableRow extends Vue {
48
50
}[this .item .condition ]
49
51
}
50
52
51
- get action () {
53
+ get actionIcon () {
52
54
return {
53
- mask_message: ' Mask Message ' , // eslint-disable-line @typescript-eslint/camelcase
54
- hide_completely: ' Hide Completely ' , // eslint-disable-line @typescript-eslint/camelcase
55
+ mask_message: ' mdi-marker ' , // eslint-disable-line @typescript-eslint/camelcase
56
+ hide_completely: ' mdi-eye-off ' , // eslint-disable-line @typescript-eslint/camelcase
55
57
}[this .item .action ]
56
58
}
57
59
@@ -77,7 +79,10 @@ export default class RuleTableRow extends Vue {
77
79
78
80
<style lang="scss" scoped>
79
81
.value {
80
- max-width : 200 px ;
82
+ max-width : 150 px ;
81
83
min-width : 96px ;
82
84
}
85
+ .action {
86
+ width : 90px ;
87
+ }
83
88
</style >
You can’t perform that action at this time.
0 commit comments