Skip to content
Snippets Groups Projects
Commit f34a3d2c authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

put it after Structure

parent 8fffdfba
No related branches found
No related tags found
1 merge request!226Resolve "Design of the structure section in a system's page"
Pipeline #126749 waiting for manual action with stages
in 6 minutes and 18 seconds
......@@ -77,7 +77,7 @@ export default defineNitroPlugin((nitroApp) => {
const index = file.body.children.findIndex(child => child.tag === "h2" && child.props.id === "structure")
console.log(index)
if (index !== -1) {
file.body.children.splice(index, 0, {
file.body.children.splice(index + 1, 0, {
type: "element",
tag: 'matrix-pdock',
props: {},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment