fix(nav): hide Add App button when sidebarAppsEnabled is false
This commit is contained in:
@@ -546,7 +546,7 @@ export function NavigationRail({
|
|||||||
})}
|
})}
|
||||||
|
|
||||||
{/* Manage apps button */}
|
{/* Manage apps button */}
|
||||||
{onManageApps && (
|
{sidebarAppsEnabled && onManageApps && (
|
||||||
<button
|
<button
|
||||||
onClick={onManageApps}
|
onClick={onManageApps}
|
||||||
className={cn(
|
className={cn(
|
||||||
|
|||||||
Reference in New Issue
Block a user