File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 220220 <template v-if =" column .key === ' allocationstate' " >
221221 <status :text =" text ? text : ''" displayText />
222222 </template >
223+ <template v-if =" column .key === ' redundantstate' " >
224+ <status v-if =" record && record.isredundantrouter" :text =" text ? text : ''" displayText />
225+ <status v-else :text =" 'N/A'" displayText :styles =" { 'min-width': '80px' }" />
226+ </template >
223227 <template v-if =" column .key === ' resourcestate' " >
224228 <status :text =" text ? text : ''" displayText />
225229 </template >
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ export default {
113113 case ' up' :
114114 case ' success' :
115115 case ' poweron' :
116+ case ' primary' :
116117 status = ' success'
117118 break
118119 case ' alert' :
@@ -149,6 +150,7 @@ export default {
149150 case ' pending' :
150151 case ' unsecure' :
151152 case ' warning' :
153+ case ' backup' :
152154 status = ' warning'
153155 break
154156 }
You can’t perform that action at this time.
0 commit comments