Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
renderSide: function () {
var sideCheck = this.checkSide({
'di.see.vm-list': '.js-side-component1',
'di.see.log': '.js-side-component2',
});
if (sideCheck === false) {
return;
}
if (sideCheck['di.see.vm-list']) {
var sideContainer = '.' + this.cid + ' .bb-details-side1';
// Render Virtual Machines list on side
var params = {};
params.whatRender = 'list';
params.listContainer = sideContainer;
params.forceListColumns = {name: true, tag: true};
if (Wat.C.checkGroupACL('diVmEmbeddedInfo')) {
params.forceListColumns['info'] = true;
}
// Check ACLs to show or not info icons in DIs list
params.forceInfoRestrictions = {};
if (Wat.C.checkACL('di.see.vm-list-block')) {
params.forceInfoRestrictions.block = true;