Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ambari-web/app/templates/common/configs/service_config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
{{view App.SpinnerView}}
{{/if}}

<div class="configs-save-panel" {{bindAttr class="view.showSavePanel::hidden"}}>
<div {{bindAttr class="view.showSavePanel::hidden :configs-save-panel"}}>
<div class="pull-right">
<button class="btn btn-default" {{action doCancel target="controller"}}
{{bindAttr disabled="view.isDiscardDisabled"}}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.Persist, App.ConfigOverrid
*/
isShowBlock: function () {
const isFilterEmpty = this.get('controller.filter') === '';
const isFilterActive = this.get('mainView.columns').someProperty('selected');
const isFilterActive = this.get('mainView.columns') && this.get('mainView.columns').someProperty('selected');
const isCustomPropertiesCategory = this.get('category.customCanAddProperty');
const isCompareMode = this.get('controller.isCompareMode');
const hasFilteredAdvancedConfigs = this.get('categoryConfigs').filter(function (config) {
Expand Down