Add slug to namespace clone if it exists
This commit is contained in:
parent
29f79579a5
commit
a22b17fce8
@ -647,7 +647,7 @@ export default {
|
||||
let { name, slug } = this.namespace
|
||||
|
||||
name = `${name} (${this.$t('cloneSuffix')})`
|
||||
slug = ''
|
||||
slug = slug ? `${slug}_${this.$t('cloneSuffix')}` : ''
|
||||
|
||||
return this.cloneNamespace({ ...this.namespace, name, slug }).then(({ namespaceID }) => {
|
||||
this.$route.params.namespaceID = namespaceID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user