allow deletion of empty tabs

This commit is contained in:
Mads Rasmussen
2015-06-19 11:33:23 +02:00
parent 197e5b066a
commit 53dfc93c65

View File

@@ -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>