diff --git a/js/dist/forum.js b/js/dist/forum.js index f4ad0d6..a7988c6 100644 Binary files a/js/dist/forum.js and b/js/dist/forum.js differ diff --git a/js/dist/forum.js.map b/js/dist/forum.js.map index 34a4caa..d4916cf 100644 Binary files a/js/dist/forum.js.map and b/js/dist/forum.js.map differ diff --git a/js/src/forum/index.js b/js/src/forum/index.js index 3ba3f21..c6ee2f4 100644 --- a/js/src/forum/index.js +++ b/js/src/forum/index.js @@ -16,20 +16,19 @@ app.initializers.add('foskym/flarum-oauth-center', () => { }; extend(UserPage.prototype, 'navItems', function (items) { if (app.session.user && app.session.user.id() === this.user.id()) { - items.add( - 'authorized', - LinkButton.component( - { - href: app.route('user.authorized', { username: this.user.username() }), - icon: 'fas fa-user-friends', - }, - [ - app.translator.trans('foskym-oauth-center.forum.page.label.authorized'), - // this.user.moderatorNoteCount() > 0 ? {this.user.moderatorNoteCount()} : '', - ] - ), - -110 - ); + // items.add( + // 'authorized', + // LinkButton.component( + // { + // href: app.route('user.authorized', { username: this.user.username() }), + // icon: 'fas fa-user-friends', + // }, + // [ + // app.translator.trans('foskym-oauth-center.forum.page.label.authorized'), + // ] + // ), + // -110 + // ); } }); });