mirror of https://github.com/apache/cloudstack.git
ui: Fix current for vmsnapshots (#5247)
This commit is contained in:
parent
446337b4cc
commit
2643854173
|
|
@ -636,7 +636,7 @@
|
|||
"label.credit": "Credit",
|
||||
"label.crosszones": "Cross Zones",
|
||||
"label.currency": "Currency",
|
||||
"label.current": "isCurrent",
|
||||
"label.current": "Current",
|
||||
"label.currentpassword": "Current Password",
|
||||
"label.custom": "Custom",
|
||||
"label.custom.disk.offering": "Custom Disk Offering",
|
||||
|
|
|
|||
|
|
@ -233,6 +233,9 @@
|
|||
<a slot="readonly" slot-scope="text, record">
|
||||
<status :text="record.readonly ? 'ReadOnly' : 'ReadWrite'" />
|
||||
</a>
|
||||
<span slot="current" slot-scope="text, record">
|
||||
<status :text="record.current ? record.current.toString() : 'false'" />
|
||||
</span>
|
||||
<span slot="created" slot-scope="text">
|
||||
{{ $toLocaleDate(text) }}
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ export default {
|
|||
case 'Successfully Installed':
|
||||
case 'ReadWrite':
|
||||
case 'True':
|
||||
case 'true':
|
||||
case 'Up':
|
||||
case 'enabled':
|
||||
status = 'success'
|
||||
|
|
@ -105,6 +106,7 @@ export default {
|
|||
case 'Down':
|
||||
case 'Error':
|
||||
case 'False':
|
||||
case 'false':
|
||||
case 'Stopped':
|
||||
case 'ReadOnly':
|
||||
status = 'error'
|
||||
|
|
|
|||
Loading…
Reference in New Issue