File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
personalization-webcomponents/src/components Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 46
46
import type DummyChecklist from " @/api/dummyservice/DummyChecklist.ts" ;
47
47
48
48
import { MucIntro } from " @muenchen/muc-patternlab-vue" ;
49
- import { computed } from " vue" ;
49
+ import {computed , onMounted } from " vue" ;
50
50
51
51
import MucChip from " @/components/common/muc-chip.vue" ;
52
52
import { getChecklistIconByTitle } from " @/util/constants.ts" ;
@@ -55,6 +55,13 @@ const props = defineProps<{
55
55
checklist: DummyChecklist ;
56
56
}>();
57
57
58
+ onMounted (() => {
59
+ const element = document .querySelector (' [data-fragment-placeholder="breadcrumb-label"]' );
60
+ if (element ) {
61
+ element .innerHTML = props .checklist .title ;
62
+ }
63
+ })
64
+
58
65
const todoCount = computed (() => {
59
66
return props .checklist .items .filter ((value ) => ! value .checked ).length ;
60
67
});
You can’t perform that action at this time.
0 commit comments