From 0828e0bd4c746f228ee3873123115105bb8d44a1 Mon Sep 17 00:00:00 2001 From: Jed Date: Thu, 20 Jul 2023 09:24:50 +0200 Subject: [PATCH] removes last reference of aposIsTemplate in core --- .../schema/ui/apos/components/AposInputSlug.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/@apostrophecms/schema/ui/apos/components/AposInputSlug.vue b/modules/@apostrophecms/schema/ui/apos/components/AposInputSlug.vue index 3fe80573cc..1b58e2b287 100644 --- a/modules/@apostrophecms/schema/ui/apos/components/AposInputSlug.vue +++ b/modules/@apostrophecms/schema/ui/apos/components/AposInputSlug.vue @@ -191,9 +191,7 @@ export default { def: '' }; - if (this.field.aposIsTemplate && !componentOnly) { - options.allow = this.field.page ? [ '/', '@' ] : '@'; - } else if (this.field.page && !componentOnly) { + if (this.field.page && !componentOnly) { options.allow = '/'; }