Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervriends committed Jun 25, 2021
1 parent 7eefdd9 commit 8ede433
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion js/src/admin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ app.initializers.add("v17development-user-badges", () => {
"v17development-flarum-badges.admin.permissions.badge_detail_users"
),
permission: "badges.canViewDetailedUsers",
allowGuest: true
allowGuest: true,
},
"view",
90
Expand Down
13 changes: 7 additions & 6 deletions js/src/forum/components/BadgeItemPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,13 @@ export default class BadgeItemPage extends Page {
</h3>
)}

{!this.loading && app.forum.attribute("canViewDetailedBadgeUsers") && (
<BadgeUserList
state={app.userBadgeListState}
badgeId={badge.id()}
/>
)}
{!this.loading &&
app.forum.attribute("canViewDetailedBadgeUsers") && (
<BadgeUserList
state={app.userBadgeListState}
badgeId={badge.id()}
/>
)}
</div>
</div>
</div>
Expand Down

0 comments on commit 8ede433

Please sign in to comment.