-
+ {showOther ? : }
- {showOther
- ? 'Imported non-Orca worktrees into sidebar'
- : 'Import non-Orca worktrees into sidebar'}
+ {showOther ? 'Shown in sidebar' : 'Hidden from sidebar'}
{showOther
- ? `${importedWorktreeLabel} imported`
+ ? `${shownWorktreeLabel} currently shown`
: `${hiddenWorktreeLabel} available to import`}
@@ -90,7 +84,7 @@ export default function WorktreeVisibilityDialog(): React.JSX.Element | null {
variant={showOther ? 'secondary' : 'outline'}
onClick={handleToggle}
>
- {showOther ? 'Remove' : 'Import'}
+ {showOther ? 'Hide' : 'Import'}