mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-18 06:03:17 +08:00
Remove broken /settings shortcut from UDS login badge panel.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b3b5b6997e
commit
8f569070a0
1 changed files with 0 additions and 4 deletions
|
|
@ -697,10 +697,6 @@ window.__ModuleLoader__.load({
|
||||||
h('div', { className: 'uds-auth-info-detail' }, h('span', { className: 'uds-auth-info-detail-label' }, '\u89d2\u8272'), label || user.role || '-'),
|
h('div', { className: 'uds-auth-info-detail' }, h('span', { className: 'uds-auth-info-detail-label' }, '\u89d2\u8272'), label || user.role || '-'),
|
||||||
user.department && h('div', { className: 'uds-auth-info-detail' }, h('span', { className: 'uds-auth-info-detail-label' }, '\u90e8\u95e8'), user.department),
|
user.department && h('div', { className: 'uds-auth-info-detail' }, h('span', { className: 'uds-auth-info-detail-label' }, '\u90e8\u95e8'), user.department),
|
||||||
),
|
),
|
||||||
(perms.canManageUsers || perms.canAccessSettings) && h('button', {
|
|
||||||
type: 'button', className: 'uds-auth-btn',
|
|
||||||
onClick: () => { window.location.href = '/settings' },
|
|
||||||
}, '\u8bbe\u7f6e / \u7528\u6237\u7ba1\u7406'),
|
|
||||||
h('button', {
|
h('button', {
|
||||||
type: 'button', className: 'uds-auth-btn uds-auth-btn-danger',
|
type: 'button', className: 'uds-auth-btn uds-auth-btn-danger',
|
||||||
onClick: async () => {
|
onClick: async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue