Преглед на файлове

fix structure identifier generation

Olivier Massot преди 5 месеца
родител
ревизия
f8a32696de
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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()
   }
 }