mirror of https://github.com/apache/cloudstack.git
plugins: use `desc` in the error notification description
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
5ab5adc918
commit
e39c482368
|
|
@ -104,7 +104,7 @@ export const notifierPlugin = {
|
|||
}
|
||||
notification.error({
|
||||
message: msg,
|
||||
description: error && error.response && 'x-description' in error.response.headers ? error.response.headers['x-description'] : error.message,
|
||||
description: desc,
|
||||
duration: 0
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue