fix currentUser not found error (#4)
This commit is contained in:
parent
1e6ade528d
commit
0d9363d8c9
|
|
@ -27,7 +27,7 @@ export default Component.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed("currentUser")
|
@discourseComputed("currentUser")
|
||||||
displayForUser() {
|
displayForUser(currentUser) {
|
||||||
const showFor = settings.show_for;
|
const showFor = settings.show_for;
|
||||||
if (showFor == "everyone") {
|
if (showFor == "everyone") {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue