Skip to content

Commit

Permalink
rename useCaseLawMenuItems to useAdmVwvMenuItems
Browse files Browse the repository at this point in the history
  • Loading branch information
reckseba committed Jan 13, 2025
1 parent eb899eb commit e13c252
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { LocationQuery } from 'vue-router'
// import { useInternalUser } from "@/composables/useInternalUser"
import type MenuItem from '@/domain/menuItem'

export function useCaseLawMenuItems(
export function useAdmVwvMenuItems(
documentNumber: string | undefined,
routeQuery: LocationQuery, // Replace with the appropriate type for route query
): MenuItem[] {
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/routes/RubrikenPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DocumentUnitInfoPanel from '@/components/DocumentUnitInfoPanel.vue'
import NavbarSide from '@/components/NavbarSide.vue'
// import ErrorPage from "@/components/PageError.vue"
import SideToggle from '@/components/SideToggle.vue'
import { useCaseLawMenuItems } from '@/composables/useCaseLawMenuItems'
import { useAdmVwvMenuItems } from '@/composables/useAdmVwvMenuItems'
// import useQuery from "@/composables/useQueryFromRoute"
// import DocumentUnit from "@/domain/documentUnit"
// import { ResponseError } from "@/services/httpClient"
Expand All @@ -33,8 +33,8 @@ import { useCaseLawMenuItems } from '@/composables/useCaseLawMenuItems'
// documentUnit: Ref<DocumentUnit | undefined>
// }
const route = useRoute()
// const menuItems = useCaseLawMenuItems(props.documentNumber, route.query)
const menuItems = useCaseLawMenuItems('KSNR707', route.query)
// const menuItems = useAdmVwvMenuItems(props.documentNumber, route.query)
const menuItems = useAdmVwvMenuItems('KSNR707', route.query)
// const { pushQueryToRoute } = useQuery()
// const validationErrors = ref<ValidationError[]>([])
Expand Down

0 comments on commit e13c252

Please sign in to comment.