Skip to content

Commit

Permalink
Check if the project has synced or not
Browse files Browse the repository at this point in the history
  • Loading branch information
pavkout committed Feb 23, 2024
1 parent dc0fadd commit 85d8443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const WorkspaceSyncDropdown: FC = () => {
const isCloudSyncEnabled = storage === 'cloud_only' || storage === 'cloud_plus_local';
const isLocalVaultEnabled = storage === 'local_only' || storage === 'cloud_plus_local';

if (isRemoteProject(activeProject) && !activeWorkspaceMeta?.gitRepositoryId && isCloudSyncEnabled) {
if ((isRemoteProject(activeProject) && !activeWorkspaceMeta?.gitRepositoryId && isCloudSyncEnabled) || (isRemoteProject(activeProject) && activeWorkspace.isCloudSynced)) {
return (
<SyncDropdown
key={activeWorkspace?._id}
Expand Down

0 comments on commit 85d8443

Please sign in to comment.