mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 11:12:46 +08:00
Revert "DEV: allow nav items to override computed property values"
This reverts commit 74e4102093
.
This commit is contained in:
parent
07e0490fe4
commit
c4cc19a2ba
|
@ -92,45 +92,6 @@ const ExtraNavItem = NavItem.extend({
|
|||
return (this._href = value);
|
||||
}
|
||||
}),
|
||||
displayName: discourseComputed("displayName", {
|
||||
get() {
|
||||
if (this._displayName) {
|
||||
return this._displayName;
|
||||
}
|
||||
|
||||
return this.displayName;
|
||||
},
|
||||
|
||||
set(key, value) {
|
||||
return (this._displayName = value);
|
||||
}
|
||||
}),
|
||||
filterMode: discourseComputed("filterMode", {
|
||||
get() {
|
||||
if (this._filterMode) {
|
||||
return this._filterMode;
|
||||
}
|
||||
|
||||
return this.filterMode;
|
||||
},
|
||||
|
||||
set(key, value) {
|
||||
return (this._filterMode = value);
|
||||
}
|
||||
}),
|
||||
title: discourseComputed("title", {
|
||||
get() {
|
||||
if (this._title) {
|
||||
return this._title;
|
||||
}
|
||||
|
||||
return this.title;
|
||||
},
|
||||
|
||||
set(key, value) {
|
||||
return (this._title = value);
|
||||
}
|
||||
}),
|
||||
|
||||
count: 0,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user