mirror of
https://github.com/directus/directus.git
synced 2026-01-29 02:07:56 -05:00
fix files calendar view item url (#7562)
This commit is contained in:
@@ -201,9 +201,9 @@ export default defineLayout<LayoutOptions>({
|
||||
|
||||
const endpoint = collection.value.startsWith('directus')
|
||||
? collection.value.substring(9)
|
||||
: `/collections/${collection.value}`;
|
||||
: `collections/${collection.value}`;
|
||||
|
||||
router.push(`${endpoint}/${primaryKey}`);
|
||||
router.push(`/${endpoint}/${primaryKey}`);
|
||||
}
|
||||
},
|
||||
async eventChange(info) {
|
||||
|
||||
Reference in New Issue
Block a user