Skip to content

Commit ba9feab

Browse files
committed
Widget change to incorporate VM state while adding a load balancer rule
1 parent 4933533 commit ba9feab

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎ui/scripts/ui/widgets/multiEdit.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,11 @@
653653
});
654654
});
655655

656+
var itemState=multiRule._itemState ? item[multiRule._itemState] :item.state;
657+
var $itemState = $('<span>').html(_s(itemState));
658+
$tr.append($('<td>').addClass('state').appendTo($tr).append("VM State - ").append($itemState));
659+
660+
656661
if (itemActions) {
657662
var $itemActions = $('<td>').addClass('actions item-actions');
658663

0 commit comments

Comments
 (0)