Skip to content

Commit

Permalink
Add slug to namespace clone if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Mar 8, 2024
1 parent 83fe256 commit b1975b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/web/compose/src/views/Namespace/Edit.vue
Expand Up @@ -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
Expand Down

0 comments on commit b1975b4

Please sign in to comment.