mirror of
https://github.com/directus/directus.git
synced 2026-01-29 08:17:55 -05:00
Resolve calendar link to detail page (#9477)
This commit is contained in:
@@ -191,7 +191,7 @@ export default defineLayout<LayoutOptions>({
|
||||
|
||||
const endpoint = collection.value.startsWith('directus')
|
||||
? collection.value.substring(9)
|
||||
: `collections/${collection.value}`;
|
||||
: `/content/${collection.value}`;
|
||||
|
||||
router.push(`/${endpoint}/${primaryKey}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user