mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
DEV: Add callback when search is empties in choose-topic (#15380)
This commit is contained in:
parent
f97c8ff0a6
commit
5a0e878a8a
|
@ -97,6 +97,7 @@ export default Component.extend({
|
|||
|
||||
if (isEmpty(title) && isEmpty(this.additionalFilters)) {
|
||||
this.setProperties({ topics: null, loading: false });
|
||||
this.onSearchEmptied?.();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user