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