nicolium: import data button should be disabled when no file provided
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -140,7 +140,7 @@ const DataImporter: React.FC<IDataImporter> = ({
|
||||
)}
|
||||
|
||||
<FormActions>
|
||||
<Button type='submit' theme='primary' disabled={isLoading}>
|
||||
<Button type='submit' theme='primary' disabled={isLoading || !file}>
|
||||
{intl.formatMessage(messages.submit)}
|
||||
</Button>
|
||||
</FormActions>
|
||||
|
||||
Reference in New Issue
Block a user