Merge pull request #6746 from menloresearch/feat/hide-project-mobile

feat: Hide projects for mobile version
This commit is contained in:
Nghia Doan 2025-10-07 10:38:03 +07:00 committed by GitHub
commit f4efd479d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ const mainMenus = [
title: 'common:projects.title', title: 'common:projects.title',
icon: IconFolderPlus, icon: IconFolderPlus,
route: route.project, route: route.project,
isEnabled: true, isEnabled: !(IS_IOS || IS_ANDROID),
}, },
] ]
@ -402,7 +402,7 @@ const LeftPanel = () => {
})} })}
</div> </div>
{filteredProjects.length > 0 && ( {filteredProjects.length > 0 && !(IS_IOS || IS_ANDROID) && (
<div className="space-y-1 py-1"> <div className="space-y-1 py-1">
<div className="flex items-center justify-between mb-2"> <div className="flex items-center justify-between mb-2">
<span className="block text-xs text-left-panel-fg/50 px-1 font-semibold"> <span className="block text-xs text-left-panel-fg/50 px-1 font-semibold">