Skip to content

Commit 3384633

Browse files
committed
Instances UI: Fix case where 'list host' is visible for stopped VM
1 parent b6db18f commit 3384633

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/scripts/instances.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
_custom: {
505505
jobId: jid,
506506
getUpdatedItem: function(json) {
507-
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
507+
return $.extend(json.queryasyncjobresultresponse.jobresult.virtualmachine, { hostid: null });
508508
},
509509
getActionFilter: function() {
510510
return vmActionfilter;

0 commit comments

Comments
 (0)