app/views/promethee/components/table_cell/_localize.html.erb in promethee-4.1.7 vs app/views/promethee/components/table_cell/_localize.html.erb in promethee-4.1.8
- old
+ new
@@ -1,14 +1,12 @@
<script type="text/ng-template" id="promethee/components/table_cell/localize">
- <div ng-show="master.attributes.text.value !== ''">
- <div class="row mt-2" ng-show="master.attributes.text.value !== ''">
- <div class="col-md-6">
- <b>Text</b>
- <p>{{ master.attributes.text.value }}</p>
- </div>
- <div class="col-md-6">
- <b>Text</b>
- <input class="form-control" ng-model="component.attributes.text.value" type="text">
- </div>
+ <div class="row mt-2" ng-show="master.attributes.text.value || frozen_component.attributes.text.value">
+ <div class="col-md-6">
+ <b>Text</b>
+ <p>{{ master.attributes.text.value }}</p>
+ </div>
+ <div class="col-md-6">
+ <b>Text</b>
+ <input class="form-control" ng-model="component.attributes.text.value" type="text">
</div>
</div>
</script>