forked from UKSOURCE/cms.hailearning.edu.vn
refactor: fix url service
This commit is contained in:
@@ -35,7 +35,7 @@ const syncServiceMenu = async (serviceItems = []) => {
|
|||||||
.map((s, index) => ({
|
.map((s, index) => ({
|
||||||
title: s.name,
|
title: s.name,
|
||||||
slug: slugify(s.name, { lower: true, strict: true }),
|
slug: slugify(s.name, { lower: true, strict: true }),
|
||||||
url: `/services/${s.slug}`,
|
url: `/services/details/${s.slug}`,
|
||||||
parentId,
|
parentId,
|
||||||
order: index + 1,
|
order: index + 1,
|
||||||
status: "active",
|
status: "active",
|
||||||
|
|||||||
Reference in New Issue
Block a user