mirror of https://github.com/apache/cloudstack.git
simplify code using object shorthand in project view (#5820)
This commit is contained in:
parent
44f6730868
commit
fc49f5d0d8
|
|
@ -305,7 +305,7 @@ export default {
|
|||
const title = `${this.$t('label.deleteconfirm')} ${this.$t('label.account')}`
|
||||
|
||||
this.$confirm({
|
||||
title: title,
|
||||
title,
|
||||
okText: this.$t('label.ok'),
|
||||
okType: 'danger',
|
||||
cancelText: this.$t('label.cancel'),
|
||||
|
|
|
|||
|
|
@ -100,9 +100,9 @@ export default {
|
|||
hasJobId = true
|
||||
const jobId = json[obj][res]
|
||||
this.$pollJob({
|
||||
title: title,
|
||||
jobid: jobId,
|
||||
description: description,
|
||||
title,
|
||||
jobId,
|
||||
description,
|
||||
showLoading: false
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ export default {
|
|||
const title = this.$t('label.confirmacceptinvitation')
|
||||
|
||||
this.$confirm({
|
||||
title: title,
|
||||
title,
|
||||
okText: this.$t('label.ok'),
|
||||
okType: 'danger',
|
||||
cancelText: this.$t('label.cancel'),
|
||||
|
|
@ -262,7 +262,7 @@ export default {
|
|||
const title = this.$t('label.confirmdeclineinvitation')
|
||||
|
||||
this.$confirm({
|
||||
title: title,
|
||||
title,
|
||||
okText: this.$t('label.ok'),
|
||||
okType: 'danger',
|
||||
cancelText: this.$t('label.cancel'),
|
||||
|
|
@ -296,9 +296,9 @@ export default {
|
|||
hasJobId = true
|
||||
const jobId = json[obj][res]
|
||||
this.$pollJob({
|
||||
title: title,
|
||||
jobid: jobId,
|
||||
description: description,
|
||||
title,
|
||||
jobId,
|
||||
description,
|
||||
showLoading: false
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue