Skip to content

Commit

Permalink
Repository sync - fix "optimize" description (#4633) (#4635)
Browse files Browse the repository at this point in the history
-"Only perform the sync if no changes are reported..."
+"Only perform the sync if changes are reported..."

Issue: AAH-2884
(cherry picked from commit 90e7d0a)

Co-authored-by: Martin Hradil <mhradil@redhat.com>
  • Loading branch information
patchback[bot] and himdel authored Nov 30, 2023
1 parent fd66087 commit 60ca68d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES/2884.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Repository sync - fix "optimize" description
4 changes: 2 additions & 2 deletions src/actions/ansible-repository-sync.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ const SyncModal = ({
label={t`Optimize`}
labelIcon={
<HelperText
content={t`Only perform the sync if no changes are reported by the remote server. To force a sync to happen, deselect this option.`}
content={t`Only perform the sync if changes are reported by the remote server. To force a sync to happen, deselect this option.`}
/>
}
>
<Switch
isChecked={syncParams.optimize}
onChange={(optimize) => setSyncParams({ ...syncParams, optimize })}
label={t`Only perform the sync if no changes are reported by the remote server.`}
label={t`Only perform the sync if changes are reported by the remote server.`}
labelOff={t`Force a sync to happen.`}
/>
</FormGroup>
Expand Down

0 comments on commit 60ca68d

Please sign in to comment.