stable

Clone or download

Read-only

refactor: Uniform way of retrieving sections

Since 9b7873ac5902999571fb93444604cf2498681f4f the sections are provided by a store. However some places still rely on props to have access to sections. Let's homogeneize that. No functional changes. Part of story #37543: edit Artidoc sections Change-Id: Ia8ae20f3a6d2b171fab277a6cd5355b84ab154d4

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts +20 −14 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue +5 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.vue +4 −8 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/TableOfContents.test.ts +34 −16 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/TableOfContents.vue +4 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts +28 −22 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/DocumentView.vue +3 −2 Go to diff View file