Selaa lähdekoodia

fix structure identifier generation

Olivier Massot 5 kuukautta sitten
vanhempi
commit
f8a32696de
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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()
   }
 }