mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user