DEV: Add callback when search is empties in choose-topic (#15380)

This commit is contained in:
Mark VanLandingham 2021-12-21 11:58:39 -06:00 committed by GitHub
parent f97c8ff0a6
commit 5a0e878a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,7 @@ export default Component.extend({
if (isEmpty(title) && isEmpty(this.additionalFilters)) {
this.setProperties({ topics: null, loading: false });
this.onSearchEmptied?.();
return;
}