mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
parent
25907eae22
commit
92e97426bd
@ -147,6 +147,7 @@ export default function useProvision () {
|
||||
serviceProvision
|
||||
.deleteProvision({ id })
|
||||
.then(() => dispatch(enqueueSuccess(`Provision deleted - ID: ${id}`)))
|
||||
.then(() => getProvisions())
|
||||
.catch(err => dispatch(enqueueError(err ?? 'Error DELETE provision')))
|
||||
, [dispatch]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user