Spaces:
Paused

dushyantsingh0 commited on
Commit
df0e6dc
·
1 Parent(s): 62c6762

fix: resolve typescript build errors in internal portal navigation

Browse files
frontend/apps/internal/src/components/SideNav.tsx CHANGED
@@ -37,7 +37,9 @@ export const SideNav: React.FC<SideNavProps> = ({
37
  onWorkspaceChange,
38
  onSettingsClick,
39
  isCollapsed = false,
40
- onToggleCollapse
 
 
41
  }) => {
42
  const { workspaces, loading } = useWorkspaces();
43
  const { hasRole, user } = useAuth();
 
37
  onWorkspaceChange,
38
  onSettingsClick,
39
  isCollapsed = false,
40
+ onToggleCollapse,
41
+ showMobile = false,
42
+ onCloseMobile
43
  }) => {
44
  const { workspaces, loading } = useWorkspaces();
45
  const { hasRole, user } = useAuth();
frontend/apps/internal/src/components/TopBar.tsx CHANGED
@@ -136,7 +136,14 @@ export const TopBar: React.FC<TopBarProps> = ({ title, subtitle, onTicketSelect,
136
  return (
137
  <div className={styles.topbar}>
138
  <div className={styles.left}>
139
- <div className={styles.title}>{title}</div>
 
 
 
 
 
 
 
140
  {subtitle && <div className={styles.subtitle}>{subtitle}</div>}
141
  </div>
142
 
 
136
  return (
137
  <div className={styles.topbar}>
138
  <div className={styles.left}>
139
+ <div className={styles.titleRow}>
140
+ {onMenuClick && (
141
+ <button className={styles.menuToggle} onClick={onMenuClick}>
142
+ <Menu size={20} />
143
+ </button>
144
+ )}
145
+ <div className={styles.title}>{title}</div>
146
+ </div>
147
  {subtitle && <div className={styles.subtitle}>{subtitle}</div>}
148
  </div>
149