瀏覽代碼

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()
   }
 }