diff --git a/app/assets/javascripts/admin/addon/components/admin-plugin-filtered-site-settings.gjs b/app/assets/javascripts/admin/addon/components/admin-plugin-filtered-site-settings.gjs index a367e47900e..07cbeb17ef4 100644 --- a/app/assets/javascripts/admin/addon/components/admin-plugin-filtered-site-settings.gjs +++ b/app/assets/javascripts/admin/addon/components/admin-plugin-filtered-site-settings.gjs @@ -23,18 +23,6 @@ export default class AdminPluginFilteredSiteSettings extends Component { this.filterChanged({ filter: "", onlyOverridden: false }); } - filterSettings(filterData) { - this.args.onFilterChanged(filterData); - this.visibleSettings = this.siteSettingFilter.filterSettings( - filterData.filter, - { - includeAllCategory: false, - onlyOverridden: filterData.onlyOverridden, - } - )[0]?.siteSettings; - this.loading = false; - } - @action filterChanged(filterData) { this._debouncedOnChangeFilter(filterData); @@ -54,6 +42,18 @@ export default class AdminPluginFilteredSiteSettings extends Component { ); } + filterSettings(filterData) { + this.args.onFilterChanged(filterData); + this.visibleSettings = this.siteSettingFilter.filterSettings( + filterData.filter, + { + includeAllCategory: false, + onlyOverridden: filterData.onlyOverridden, + } + )[0]?.siteSettings; + this.loading = false; + } +