mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user