Browse Source

fix structure identifier generation

Olivier Massot 4 months ago
parent
commit
f8a32696de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/shop/try/artist-premium.vue

+ 1 - 1
pages/shop/try/artist-premium.vue

@@ -731,7 +731,7 @@ const onStructureNameUpdated = (newName: string) => {
   if (!structureIdentifierModified.value && newName) {
     trialRequest.structureIdentifier = slugify(
       trialRequest.structureName
-    ).replace('-', '')
+    ).replace(/[-_]/g, '')
     checkSubdomainAvailabilityDebounced()
   }
 }