allow deletion of empty tabs
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<!-- TAB ACTIVE OR INACTIVE STATE -->
|
||||
<div class="edt-tab umb-card" ng-class="{'tab-state-active':tab.tabState=='active', 'tab-state-inactive': tab.tabState=='inActive', 'tab-is-inherited': tab.inherited, 'edt-tab-handle': sortingMode}" ng-click="activateTab(tab)" ng-if="tab.tabState !== 'init'">
|
||||
|
||||
<div class="tab-remove" ng-if="!sortingMode && !tab.inherited && !tab.parentTabContentTypeNames.length > 0">
|
||||
<div class="tab-remove" ng-if="!sortingMode && tab.properties.length <= 1">
|
||||
<i class="icon icon-trash" ng-click="removeTab($index)"></i>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user