Destroying visualizations directives when in discover subtab

This commit is contained in:
havidarou 2018-01-30 18:09:01 -05:00
parent 91a1b273c1
commit 0635cd595c
18 changed files with 18 additions and 18 deletions

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'audit'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-125">
<md-card flex>
<md-card-content class="wazuh-column">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'aws'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-300">
<div flex layout="column">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'fim'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" class="height-230">
<md-card flex="33">

View File

@ -1,6 +1,6 @@
<md-content flex layout="column" ng-if="tab === 'general'" layout-align="start">
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" class="height-100">
<md-card flex>
<md-card-content class="text-center">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'oscap'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex="20">
<md-card-content class="wazuh-column">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'pci'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch">
<md-card flex>
<md-tabs md-selected="selectedIndex" md-border-bottom md-dynamic-height id="pciReq_tab">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'pm'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<div layout="row" class="height-240">

View File

@ -1,5 +1,5 @@
<md-content flex layout="column" ng-if="tab === 'virustotal'" layout-align="start">
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" class="height-120">
<md-card flex>

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'vuls'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex>

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'audit'" layout-align="space-around">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-125">
<md-card flex="10">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'aws'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-300">
<div flex layout="column">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'fim'">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" class="height-360">
<div flex="15" layout="column">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab === 'general'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex>

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'oscap'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex="20">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'pci'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch">
<md-card flex>

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'pm'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-290">
<md-card flex="50">

View File

@ -1,5 +1,5 @@
<md-content flex layout="column" ng-if="tab === 'virustotal'" layout-align="start">
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" class="height-360">
<div flex layout="column">
<div flex layout="row">

View File

@ -1,7 +1,7 @@
<md-content flex layout="column" ng-if="tab == 'vuls'" layout-align="start">
<!-- View: Panels -->
<div ng-show="resultState === 'ready' && tabView === 'panels'">
<div ng-if="resultState === 'ready' && tabView === 'panels'">
<div layout="row" layout-align="center stretch" class="height-120">
<md-card flex>