Skip to content

Commit

Permalink
hide strategy indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed Dec 6, 2023
1 parent c835e9c commit 313074b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/src/components/editor/canvas-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,9 @@ export const CanvasToolbar = React.memo(() => {
</>,
)}
{when(
canvasToolbarMode.primary === 'edit' && canvasToolbarMode.secondary === 'strategy-active',
canvasToolbarMode.primary === 'edit' &&
canvasToolbarMode.secondary === 'strategy-active' &&
!isViewer,
<StrategyIndicator />,
)}
{/* Insert Mode */}
Expand Down

0 comments on commit 313074b

Please sign in to comment.