More refactoring, cleaned up icons, nav buttons, add messages.
This commit is contained in:
1 parent
4b1013c8c6
commit
5f15ad0807
68 files changed
+391
-790
No files matched your search
@@ -22,6 +22,7 @@ export default function TeamAddForm({ onSave, onClose }) {
|
||||
mutate(data, {
|
||||
onSuccess: async () => {
|
||||
onSave();
|
||||
onClose();
|
||||
},
|
||||
});
|
||||
};
|
||||
@@ -29,7 +30,7 @@ export default function TeamAddForm({ onSave, onClose }) {
|
||||
return (
|
||||
<Form ref={ref} onSubmit={handleSubmit} error={error}>
|
||||
<FormRow label={formatMessage(labels.name)}>
|
||||
<FormInput name="name" rules={{ required: 'Required' }}>
|
||||
<FormInput name="name" rules={{ required: formatMessage(labels.required) }}>
|
||||
<TextField autoComplete="off" />
|
||||
</FormInput>
|
||||
</FormRow>
|
||||
|
||||
Reference in new issue
Block a user