mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-19 05:45:01 -04:00
Hide Sync Tab via Feature Flag (#2611)
This commit is contained in:
committed by
GitHub
parent
0bb073e8bb
commit
90a35c5cd3
@@ -37,6 +37,7 @@ export default () => {
|
||||
|
||||
// const isPairingEnabled = useFeatureFlag('p2pPairing');
|
||||
const isBackupsEnabled = useFeatureFlag('backups');
|
||||
const cloudSync = useFeatureFlag('cloudSync');
|
||||
|
||||
const { t } = useLocale();
|
||||
|
||||
@@ -122,10 +123,12 @@ export default () => {
|
||||
<Icon component={MagnifyingGlass} />
|
||||
Saved Searches
|
||||
</SidebarLink> */}
|
||||
<SidebarLink to="library/sync">
|
||||
<Icon component={ArrowsClockwise} />
|
||||
{t('sync')}
|
||||
</SidebarLink>
|
||||
{cloudSync && (
|
||||
<SidebarLink to="library/sync">
|
||||
<Icon component={ArrowsClockwise} />
|
||||
{t('sync')}
|
||||
</SidebarLink>
|
||||
)}
|
||||
<SidebarLink disabled to="library/clouds">
|
||||
<Icon component={Cloud} />
|
||||
{t('clouds')}
|
||||
|
||||
Reference in New Issue
Block a user