Skip to content

Commit cfc261d

Browse files
committed
Move upload button
1 parent 763d0de commit cfc261d

File tree

4 files changed

+360
-345
lines changed

4 files changed

+360
-345
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/import-controls/import-controls.tsx

Lines changed: 0 additions & 340 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/control-bar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import { useWorkflowExecution } from '../../hooks/use-workflow-execution'
5858
import { DeploymentControls } from './components/deployment-controls/deployment-controls'
5959
import { ExportControls } from './components/export-controls/export-controls'
6060
import { HistoryDropdownItem } from './components/history-dropdown-item/history-dropdown-item'
61-
import { ImportControls } from './components/import-controls/import-controls'
61+
6262
import { MarketplaceModal } from './components/marketplace-modal/marketplace-modal'
6363
import { NotificationDropdownItem } from './components/notification-dropdown-item/notification-dropdown-item'
6464
import { UserAvatarStack } from './components/user-avatar-stack/user-avatar-stack'
@@ -1289,7 +1289,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
12891289
{renderDuplicateButton()}
12901290
{renderAutoLayoutButton()}
12911291
{renderDebugModeToggle()}
1292-
<ImportControls disabled={!userPermissions.canEdit} />
1292+
12931293
<ExportControls disabled={!userPermissions.canRead} />
12941294
{/* <WorkflowTextEditorModal disabled={!userPermissions.canEdit} /> */}
12951295
{/* {renderPublishButton()} */}

0 commit comments

Comments
 (0)