fix currentUser not found error (#4)

This commit is contained in:
Kris 2021-02-05 10:29:39 -05:00 committed by GitHub
parent 1e6ade528d
commit 0d9363d8c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export default Component.extend({
},
@discourseComputed("currentUser")
displayForUser() {
displayForUser(currentUser) {
const showFor = settings.show_for;
if (showFor == "everyone") {
return true;