This commit is contained in:
Фролов 2022-02-08 16:20:28 +05:00
commit 2c5c8e21e8

View File

@ -82,7 +82,7 @@ export const Setpoints = ({ idWell, ...other }) => {
visible={isModalVisible} visible={isModalVisible}
onCancel={() => setIsModalVisible(false)} onCancel={() => setIsModalVisible(false)}
footer={( footer={(
<Button onClick={() => setIsSenderVisible(true)}> <Button onClick={() => setIsSenderVisible(true)} disabled={!hasPermission('Setpoints.edit')}>
Рекомендовать Рекомендовать
</Button> </Button>
)} )}