Skip to content

Commit

Permalink
Use meaningful variables
Browse files Browse the repository at this point in the history
RISDEV-2946
  • Loading branch information
leonie-koch committed Dec 19, 2023
1 parent 600295c commit 96a1c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/DocumentUnitCategories.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ const contentRelatedIndexing = computed({
})
const { hash: routeHash } = toRefs(route)
useScrollToHash(routeHash, 145)
const headerOffset = 145
useScrollToHash(routeHash, headerOffset)
async function getOriginalDocumentUnit() {
if (fileAsHTML.value.length > 0) return
Expand Down

0 comments on commit 96a1c22

Please sign in to comment.