Skip to content

Commit 36ccce0

Browse files
committed
feat: add Prune and delete sync option edit on UI
Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
1 parent 0acdb86 commit 36ccce0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/app/applications/components/application-sync-options/application-sync-options.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ export const ApplicationSyncOptions = (props: ApplicationSyncOptionProps) => (
120120
{syncWithReplaceAllowed =>
121121
(syncWithReplaceAllowed && (
122122
<div className='small-12' style={optionStyle}>
123+
{selectOption('Prune', 'Prune', 'true', ['true', 'false', 'confirm'], props)}
124+
{selectOption('Delete', 'Delete', 'true', ['true', 'false', 'confirm'], props)}
123125
{booleanOption('Replace', 'Replace', false, props, false, REPLACE_WARNING)}
124126
</div>
125127
)) ||

0 commit comments

Comments
 (0)