chore: remove the authorized page temporarily
This commit is contained in:
parent
faee03069c
commit
b66e8a56d1
3 changed files with 13 additions and 14 deletions
BIN
js/dist/forum.js
generated
vendored
BIN
js/dist/forum.js
generated
vendored
Binary file not shown.
BIN
js/dist/forum.js.map
generated
vendored
BIN
js/dist/forum.js.map
generated
vendored
Binary file not shown.
|
@ -16,20 +16,19 @@ app.initializers.add('foskym/flarum-oauth-center', () => {
|
||||||
};
|
};
|
||||||
extend(UserPage.prototype, 'navItems', function (items) {
|
extend(UserPage.prototype, 'navItems', function (items) {
|
||||||
if (app.session.user && app.session.user.id() === this.user.id()) {
|
if (app.session.user && app.session.user.id() === this.user.id()) {
|
||||||
items.add(
|
// items.add(
|
||||||
'authorized',
|
// 'authorized',
|
||||||
LinkButton.component(
|
// LinkButton.component(
|
||||||
{
|
// {
|
||||||
href: app.route('user.authorized', { username: this.user.username() }),
|
// href: app.route('user.authorized', { username: this.user.username() }),
|
||||||
icon: 'fas fa-user-friends',
|
// icon: 'fas fa-user-friends',
|
||||||
},
|
// },
|
||||||
[
|
// [
|
||||||
app.translator.trans('foskym-oauth-center.forum.page.label.authorized'),
|
// app.translator.trans('foskym-oauth-center.forum.page.label.authorized'),
|
||||||
// this.user.moderatorNoteCount() > 0 ? <span className="Button-badge">{this.user.moderatorNoteCount()}</span> : '',
|
// ]
|
||||||
]
|
// ),
|
||||||
),
|
// -110
|
||||||
-110
|
// );
|
||||||
);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue