diff --git a/tina/__generated__/config.prebuild.jsx b/tina/__generated__/config.prebuild.jsx index 6ec64d1..08d6ed0 100644 --- a/tina/__generated__/config.prebuild.jsx +++ b/tina/__generated__/config.prebuild.jsx @@ -520,7 +520,11 @@ var config_default = defineConfig({ path: "content/translations", match: { include: "en" }, format: "json", - ui: { allowedActions: { create: false, delete: false }, global: true }, + ui: { + allowedActions: { create: false, delete: false }, + global: true, + router: () => "/" + }, fields: designFields() }, { @@ -529,7 +533,11 @@ var config_default = defineConfig({ path: "content/translations", match: { include: "uk" }, format: "json", - ui: { allowedActions: { create: false, delete: false }, global: true }, + ui: { + allowedActions: { create: false, delete: false }, + global: true, + router: () => "/" + }, fields: translationFields() }, { diff --git a/tina/config.ts b/tina/config.ts index da0207d..1d0359c 100644 --- a/tina/config.ts +++ b/tina/config.ts @@ -480,7 +480,11 @@ export default defineConfig({ path: "content/translations", match: { include: "en" }, format: "json", - ui: { allowedActions: { create: false, delete: false }, global: true }, + ui: { + allowedActions: { create: false, delete: false }, + global: true, + router: () => "/", + }, fields: designFields(), }, { @@ -489,7 +493,11 @@ export default defineConfig({ path: "content/translations", match: { include: "uk" }, format: "json", - ui: { allowedActions: { create: false, delete: false }, global: true }, + ui: { + allowedActions: { create: false, delete: false }, + global: true, + router: () => "/", + }, fields: translationFields(), }, {