bug fixes
This commit is contained in:
@@ -86,7 +86,7 @@ export default function NavDrawer({ open, onClose, onMessages, onGroupMessages,
|
||||
<div className="nav-drawer-section-label admin">Tools</div>
|
||||
{canAccessTools && item(NAV_ICON.users, 'User Manager', onUsers, { active: currentPage === 'users' })}
|
||||
{canAccessTools && features.groupManager && item(NAV_ICON.groups, 'Group Manager', onGroupManager, { active: currentPage === 'groups' })}
|
||||
{showAddChild && item(
|
||||
{showAddChild && onAddChild && item(
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="19" y1="8" x2="19" y2="14"/><line x1="22" y1="11" x2="16" y2="11"/></svg>,
|
||||
'Add Child Aliase',
|
||||
onAddChild
|
||||
|
||||
@@ -878,6 +878,7 @@ export default function Chat() {
|
||||
onSettings={() => { setDrawerOpen(false); setModal('settings'); }}
|
||||
onUsers={() => { setDrawerOpen(false); setActiveGroupId(null); setChatHasText(false); setPage('users'); }}
|
||||
onHostPanel={() => { setDrawerOpen(false); setActiveGroupId(null); setChatHasText(false); setPage('hostpanel'); }}
|
||||
onAddChild={() => { setDrawerOpen(false); setModal('addchild'); }}
|
||||
features={features}
|
||||
currentPage={page}
|
||||
isMobile={isMobile}
|
||||
|
||||
Reference in New Issue
Block a user