simplify code using object shorthand in project view (#5820)

This commit is contained in:
Daman Arora 2022-01-03 02:44:07 -05:00 committed by GitHub
parent 44f6730868
commit fc49f5d0d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -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'),

View File

@ -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
})
}

View File

@ -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
})
}