Skip to content

Commit

Permalink
Only have selected_implementation_groups field in audit update form
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed May 5, 2024
1 parent 68ae462 commit 422ca9e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions frontend/src/lib/components/Forms/ModelForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,15 @@
/>
<TextField {form} field="version" label={m.version()} />
<Select {form} options={model.selectOptions['status']} field="status" label={m.status()} />
<AutocompleteSelect
multiple
{form}
options={model.selectOptions['selected_implementation_groups']}
field="selected_implementation_groups"
label={m.selectedImplementationGroups()}
/>
{#if origin === 'edit'}
<AutocompleteSelect
multiple
{form}
options={model.selectOptions['selected_implementation_groups']}
field="selected_implementation_groups"
label={m.selectedImplementationGroups()}
/>
{/if}
<AutocompleteSelect
{form}
options={getOptions({ objects: model.foreignKeys['framework'] })}
Expand Down

0 comments on commit 422ca9e

Please sign in to comment.