Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (Wat.C.checkACL('di.see.vm-list-state')) {
params.forceInfoRestrictions.state = true;
}
if (Wat.C.checkACL('di.see.vm-list-user-state')) {
params.forceInfoRestrictions.user_state = true;
}
params.forceSelectedActions = {};
params.forceListActionButton = null;
params.block = 5;
params.filters = {"-or": ["di_id", this.elementId, "di_id_in_use", this.elementId]};
this.sideViews.push(new Wat.Views.VMListView(params));
}
if (sideCheck['di.see.log']) {
var sideContainer = '.' + this.cid + ' .bb-details-side2';
// Render Related log list on side
var params = this.getSideLogParams(sideContainer);
this.sideViews.push(new Wat.Views.LogListView(params));
this.renderLogGraph(params);
}
},