Skip to content

Commit

Permalink
dass zu das #46
Browse files Browse the repository at this point in the history
  • Loading branch information
jannik.lange committed Sep 12, 2024
1 parent c99ac2a commit 2f7365c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ export default {
isLoading: {
type: Boolean,
default: false
},
},
icon: {
type: String,
default: ""
},
},
infoText: {
type: String,
default: ""
},
},
name: {
type: String,
default: ""
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/features/the-angebote/the-angebote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ export default class TheAngebote extends Vue {

<style scoped>
</style>
</style>
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import TheAnlaufstellen from "@/features/the-unterstuetzungsfinder/features/the-contact-points/the-contact-points.vue";

export const THE_ANLAUFSTELLEN_ROUTE_NAME = "Anlaufstellen";
export const THE_ANLAUFSTELLEN_ROUTE_INFO_TEXT = "Hier finden Sie Informationen zu allen Anlaufstellen.";
export const THE_ANLAUFSTELLEN_ROUTE_PATH = `/anlaufstellen/:id?`;
export const THE_ANLAUFSTELLEN_ROUTE_META_ICON = "mdi-card-account-details-outline";


export const theAnlaufstellenRoutes = {
name: THE_ANLAUFSTELLEN_ROUTE_NAME,
path: THE_ANLAUFSTELLEN_ROUTE_PATH,
infoTest: THE_ANLAUFSTELLEN_ROUTE_INFO_TEXT,
component: TheAnlaufstellen,
props: true, // Pass route.params to props
meta: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ import { defineComponent, ref, watch, onBeforeUnmount } from "vue";
import { ContactPointListItem } from "@/features/commons/types/ContactPoint";
import { useGetContactPointListItems } from "@/features/commons/middleware/useGetContactPoints";
import {
THE_ANLAUFSTELLEN_ROUTE_NAME
THE_ANLAUFSTELLEN_ROUTE_INFO_TEXT,
THE_ANLAUFSTELLEN_ROUTE_NAME, theAnlaufstellenRoutes
} from "@/features/the-unterstuetzungsfinder/features/the-contact-points/the-contact-points.routes";
import { THE_ANGEBOTE_ROUTE_META_ICON } from "@/features/the-angebote/the-angebote.routes";
import { THE_ERFAHRE_MEHR_ROUTE_META_INFO_TEXT } from "@/features/the-additional/the-additional.routes";
Expand Down Expand Up @@ -134,7 +135,7 @@ export default defineComponent({
return {
name: THE_ANLAUFSTELLEN_ROUTE_NAME,
icon: THE_ANGEBOTE_ROUTE_META_ICON,
infoText: THE_ERFAHRE_MEHR_ROUTE_META_INFO_TEXT,
infoText: THE_ANLAUFSTELLEN_ROUTE_INFO_TEXT,
isLoading,
isError,
listItems,
Expand Down

0 comments on commit 2f7365c

Please sign in to comment.