FIX: Tag suggester is suggesting already assigned tags (#990)
This PR fixes an issue where the tag suggester for edit title topic area was suggesting tags that are already assigned on a post. It also updates the amount of suggested tags to 7 so that there is still a decent amount of tags suggested when tags are already assigned.
This commit is contained in:
@@ -112,7 +112,9 @@ export default class AiTagSuggester extends Component {
|
||||
}
|
||||
|
||||
#tagSelectorHasValues() {
|
||||
return this.args.composer?.tags && this.args.composer?.tags.length > 0;
|
||||
const model = this.args.composer ? this.args.composer : this.args.buffered;
|
||||
|
||||
return model.get("tags") && model.get("tags").length > 0;
|
||||
}
|
||||
|
||||
#removedAppliedTag(suggestion) {
|
||||
|
||||
Reference in New Issue
Block a user