1
0
Fork 0
mirror of synced 2024-08-17 02:51:55 +12:00

ensure /app prefix gets stripped from website templates

This commit is contained in:
Martin McKeaveney 2022-11-05 13:55:17 +00:00
parent cc88807038
commit 4f86462435

View file

@ -167,7 +167,7 @@
const autoCreateApp = async () => {
try {
// Auto name app if has same name
let appName = template.key
let appName = template.key.replace("app/", "")
const appsWithSameName = $apps.filter(app =>
app.name?.startsWith(appName)
)