changed validate products page
This commit is contained in:
@@ -15,7 +15,7 @@ useSeoMeta({
|
||||
definePageMeta({
|
||||
validate: (route) => {
|
||||
if (Array.isArray(route.params.slug)) {
|
||||
return route.params.slug.length === 2 && route.params.slug[0] === "category";
|
||||
return route.params.slug.length === 2 && route.params.slug[0].startsWith("category");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user