forked from ddrilling/asb_cloud_front
Добавлена блокировка нопки Рекомендовать
This commit is contained in:
parent
ec990b55b5
commit
f05ad0101b
@ -82,7 +82,7 @@ export const Setpoints = ({ idWell, ...other }) => {
|
||||
visible={isModalVisible}
|
||||
onCancel={() => setIsModalVisible(false)}
|
||||
footer={(
|
||||
<Button onClick={() => setIsSenderVisible(true)}>
|
||||
<Button onClick={() => setIsSenderVisible(true)} disabled={!hasPermission('Setpoints.edit')}>
|
||||
Рекомендовать
|
||||
</Button>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user