ui: show password with success notification (#5889)

Fixes #5888

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2022-01-24 17:05:07 +05:30 committed by GitHub
parent f639f56834
commit 68a5e5aa77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1779,7 +1779,7 @@ export default {
const vm = result.jobresult.virtualmachine
const name = vm.displayname || vm.name || vm.id
if (vm.password) {
this.$notification.error({
this.$notification.success({
message: password + ` ${this.$t('label.for')} ` + name,
description: vm.password,
duration: 0