Skip to content

Commit

Permalink
fix the problem empty global header was displayed on the new task page
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed May 9, 2023
1 parent c2ed7bd commit 26106fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/setting.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="setting-value col-sm-8">
<div ng-class="{'input-group': !!option.suffix}">
<div class="form-group has-feedback" ng-class="[optionStatus.getStatusFeedbackStyle()]">
<pre ng-if="fixedValue" ng-bind="fixedValue"></pre>
<pre ng-if="fixedValue && fixedValue.trim()" ng-bind="fixedValue"></pre>
<input class="form-control" type="text" placeholder="{{placeholder}}" ng-disabled="!!option.readonly"
ng-if="(option.type === 'string' && !option.showHistory) || option.type === 'integer' || option.type === 'float'"
ng-model="optionValue" ng-change="changeValue(optionValue, true)" ng-keyup="inputKeyUp($event, true)"/>
Expand Down

0 comments on commit 26106fe

Please sign in to comment.