mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
UX: do not pre-select blank tag on append tags bulk action (#12801)
UX: show progress screen only when more than 20 topics are selected
This commit is contained in:
parent
fd6f0db788
commit
1e9301d4d8
@ -121,7 +121,10 @@ export default Controller.extend(ModalFunctionality, {
|
||||
|
||||
perform(operation) {
|
||||
this.set("processedTopicCount", 0);
|
||||
this.send("changeBulkTemplate", "modal/bulk-progress");
|
||||
if (this.get("model.topics").length > 20) {
|
||||
this.send("changeBulkTemplate", "modal/bulk-progress");
|
||||
}
|
||||
|
||||
this.set("loading", true);
|
||||
|
||||
return this._processChunks(operation)
|
||||
@ -215,7 +218,7 @@ export default Controller.extend(ModalFunctionality, {
|
||||
},
|
||||
|
||||
showAppendTagTopics() {
|
||||
this.set("tags", "");
|
||||
this.set("tags", null);
|
||||
this.set("action", "appendTags");
|
||||
this.set("label", "append_tags");
|
||||
this.set("title", "choose_append_tags");
|
||||
|
Loading…
Reference in New Issue
Block a user