Render all tabs in the background to ensure they register their initial state on any $scope.model in the stack. (#14493)

Sometimes a tab, e.g. a "block list settings model" might register some default values, but if the user never clicks on the tab then they are not registered due to how AngularJS renders views with "ng-if".
This commit is contained in:
Jacob Overgaard
2023-07-06 07:52:11 +00:00
parent 630bbc1e12
commit cee485c6db

View File

@@ -5,7 +5,7 @@
ng-repeat="subView in subViews track by subView.alias"
ng-class="'sub-view-' + subView.name"
val-sub-view="subView"
ng-if="subView.active"
ng-show="subView.active"
>
<div class="umb-editor-sub-view__content" ng-include="subView.view"></div>
</div>