adds row immediately if only one layout is allowed
This commit is contained in:
committed by
Sebastiaan Janssen
parent
7b0468fb39
commit
66a75dbc1e
@@ -251,7 +251,9 @@
|
||||
|
||||
<button
|
||||
class="iconBox btn-reset"
|
||||
ng-click="toggleAddRow()"
|
||||
type="button"
|
||||
title="{{ section.$allowedLayouts.length == 1 ? section.$allowedLayouts[0].label || section.$allowedLayouts[0].name : '' }}"
|
||||
ng-click="section.$allowedLayouts.length == 1 ? addRow(section, section.$allowedLayouts[0]) : toggleAddRow()"
|
||||
ng-if="!showRowConfigurations">
|
||||
|
||||
<i class="icon icon-add" ></i>
|
||||
|
||||
Reference in New Issue
Block a user