Fix condition in loading progress div

This commit is contained in:
Jesús Ángel 2019-08-30 11:19:28 +02:00
parent bcacfd93e4
commit bb33b1f423
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@
<!-- Loading status section -->
<div layout="column" layout-align="center center"
ng-if="tab !== 'welcome' && tab !== 'sca' && tab !== 'configuration' && tab !== 'syscollector' && tabView === 'panels' && !rendered">
ng-if="tab !== 'welcome' && tab !== 'sca' && tab !== 'configuration' && tab !== 'syscollector' && tabView === 'panels' && !rendered && resultState !== 'none'">
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
<div class="percentage">{{loadingStatus}}</div>
</div>

View File

@ -57,7 +57,7 @@
<!-- Loading status section -->
<div layout="column" layout-align="center center"
ng-if="octrl.tab !== 'welcome' && octrl.tabView === 'panels' && !rendered">
ng-if="octrl.tab !== 'welcome' && octrl.tabView === 'panels' && !rendered && resultState !== 'none'">
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
<div class="percentage">{{loadingStatus}}</div>
</div>