Skip to content

Commit

Permalink
Merge pull request #2973 from glific/fix/template-ui
Browse files Browse the repository at this point in the history
Changed template field position
  • Loading branch information
akanshaaa19 authored Jul 11, 2024
2 parents b58575d + bed0de7 commit d98b159
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/containers/Template/Form/HSM/HSM.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ export const HSM = () => {
},
skip: isEditing,
},
{
component: Input,
name: 'category',
type: 'text',
label: `${t('Category')}*`,
placeholder: `${t('Category')}*`,
disabled: isEditing,
helperText: t('Select the most relevant category'),
skip: !isEditing,
},
{
component: Checkbox,
name: 'allowTemplateCategoryChange',
Expand All @@ -176,16 +186,6 @@ export const HSM = () => {
disabled: isEditing,
handleChange: (value: boolean) => setAllowTemplateCategoryChange(value),
},
{
component: Input,
name: 'category',
type: 'text',
label: `${t('Category')}*`,
placeholder: `${t('Category')}*`,
disabled: isEditing,
helperText: t('Select the most relevant category'),
skip: !isEditing,
},
];

return (
Expand Down

0 comments on commit d98b159

Please sign in to comment.