DEV: Don't fetch tagNotifications when additional tags are present (#23351)
We don't display them, see: 006a5166e5/app/assets/javascripts/discourse/app/components/d-navigation.js (L55-L55)
This commit is contained in:
parent
006a5166e5
commit
06a9963cbb
|
@ -59,7 +59,7 @@ export default DiscourseRoute.extend({
|
|||
const filterType = this.navMode.split("/")[0];
|
||||
|
||||
let tagNotification;
|
||||
if (tag && tag.id !== NONE && this.currentUser) {
|
||||
if (tag && tag.id !== NONE && this.currentUser && !additionalTags) {
|
||||
// If logged in, we should get the tag's user settings
|
||||
tagNotification = await this.store.find(
|
||||
"tagNotification",
|
||||
|
|
|
@ -12,11 +12,6 @@ acceptance("Tags intersection", function (needs) {
|
|||
needs.settings({ tagging_enabled: true });
|
||||
|
||||
needs.pretender((server, helper) => {
|
||||
server.get("/tag/first/notifications", () => {
|
||||
return helper.response({
|
||||
tag_notification: { id: "first", notification_level: 1 },
|
||||
});
|
||||
});
|
||||
server.get("/tags/intersection/first/second.json", () => {
|
||||
return helper.response({
|
||||
users: [],
|
||||
|
|
Loading…
Reference in New Issue