Added new actor dialog to admin panel, removed create mode from actor edit page.

This commit is contained in:
2026-06-17 01:54:23 +02:00
parent 0af5b8d84c
commit 2595fcc365
7 changed files with 208 additions and 49 deletions

View File

@@ -2,7 +2,7 @@
// import { redirect } from 'vike/abort'; /* eslint-disable-line import/extensions */
import { match } from 'path-to-regexp';
const path = '/actor/(edit|new)/:actorId?/:actorSlug?';
const path = '/actor/edit/:actorId/:actorSlug?';
const urlMatch = match(path, { decode: decodeURIComponent });
export default (pageContext) => {