How to use the di.see.vm-list function in di

To help you get started, we’ve selected a few di examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github theqvd / theqvd / wat / lib / bb-views / platform / di-details.js View on Github external
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;