Merge branch 'feature/modal_fix' into 'dev'

cancel button removed

See merge request spatial/postamates_frontend!73
dev
Anton Vlasov 2 years ago
commit 74bb1f9f3b

@ -68,25 +68,7 @@ export const PointsFileUploadModal = ({onClose, isOpened}) => {
Просмотреть отчет
</Button>
]
if (isImporting) return [
<Button
key="ok-button"
type="primary"
onClick={() => onImportPoints()}
disabled={!fileId || isImporting}
>
Импортировать
</Button>,
]
return [
<Button
key="close-button"
type="default"
onClick={onClose}
disabled={isImporting}
>
Отмена
</Button>,
<Button
key="ok-button"
type="primary"

Loading…
Cancel
Save