mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 21:33:38 +08:00
FIX: mini-tag-chooser was not returning a correct list of tags
Should also fix an issue where it validates the creation of an existing tag.
This commit is contained in:
parent
486bbe9cc2
commit
410b90dde0
|
@ -184,7 +184,6 @@ export default ComboBox.extend(Tags, {
|
||||||
categoryId: this.get("categoryId")
|
categoryId: this.get("categoryId")
|
||||||
};
|
};
|
||||||
if (this.get("selectedTags")) data.selected_tags = this.get("selectedTags").slice(0, 100);
|
if (this.get("selectedTags")) data.selected_tags = this.get("selectedTags").slice(0, 100);
|
||||||
if (!this.get("everyTag")) data.filterForInput = true;
|
|
||||||
|
|
||||||
this.searchTags("/tags/filter/search", data, this._transformJson);
|
this.searchTags("/tags/filter/search", data, this._transformJson);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user