This reverts commit 526e6e7a3b
.
Link in dropdown user menu is kept in favor of link in experimental sidebar
This commit is contained in:
parent
94c70a0909
commit
b622302351
|
@ -153,9 +153,7 @@ createWidget("user-menu-links", {
|
|||
});
|
||||
}
|
||||
|
||||
if (!this.currentUser.experimental_sidebar_enabled) {
|
||||
glyphs.push(this.bookmarksGlyph());
|
||||
}
|
||||
glyphs.push(this.bookmarksGlyph());
|
||||
|
||||
if (this.siteSettings.enable_personal_messages || this.currentUser.staff) {
|
||||
glyphs.push(this.messagesGlyph());
|
||||
|
|
|
@ -154,21 +154,6 @@ discourseModule(
|
|||
},
|
||||
});
|
||||
|
||||
componentTest("bookmarks - experimental sidebar enabled", {
|
||||
template: hbs`{{mount-widget widget="user-menu"}}`,
|
||||
|
||||
beforeEach() {
|
||||
this.currentUser.setProperties({ experimental_sidebar_enabled: true });
|
||||
},
|
||||
|
||||
async test(assert) {
|
||||
assert.notOk(
|
||||
exists(".user-bookmarks-link"),
|
||||
"user bookmark link is not displayed"
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
componentTest("bookmarks", {
|
||||
template: hbs`{{mount-widget widget="user-menu"}}`,
|
||||
|
||||
|
|
Loading…
Reference in New Issue