Skip to content

Commit 6dae07d

Browse files
author
Dominik Grenz
committed
run linter
1 parent d3ae492 commit 6dae07d

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

personalization-webcomponents/src/components/ChecklistHeader.vue

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,38 @@
1010
>{{ props.checklist.lastUpdated.toLocaleString().split(",")[0] }}
1111
</p>
1212
<div class="taskcontainer">
13-
<div class="task">Aufgaben: </div>
14-
<div class="chip"><muc-chip
15-
v-if="todoCount"
16-
style="margin-right: 8px"
17-
background-color="#FDD1AC"
18-
>
19-
{{ todoCount }} offen
20-
<svg
21-
style="margin-left: 8px; width: 20px; height: 20px"
22-
aria-hidden="true"
23-
class="m-button__icon"
13+
<div class="task">Aufgaben:</div>
14+
<div class="chip">
15+
<muc-chip
16+
v-if="todoCount"
17+
style="margin-right: 8px"
18+
background-color="#FDD1AC"
2419
>
25-
<use href="#icon-pencil" />
26-
</svg>
27-
</muc-chip>
20+
{{ todoCount }} offen
21+
<svg
22+
style="margin-left: 8px; width: 20px; height: 20px"
23+
aria-hidden="true"
24+
class="m-button__icon"
25+
>
26+
<use href="#icon-pencil" />
27+
</svg>
28+
</muc-chip>
2829
</div>
2930

3031
<div class="chip">
31-
<muc-chip
32-
v-if="doneCount"
33-
background-color="#B7D2B7"
34-
>
35-
{{ doneCount }} erledigt
36-
<svg
37-
style="margin-left: 8px; width: 20px; height: 20px"
38-
aria-hidden="true"
39-
class="m-button__icon"
32+
<muc-chip
33+
v-if="doneCount"
34+
background-color="#B7D2B7"
4035
>
41-
<use href="#icon-check" />
42-
</svg>
43-
</muc-chip>
36+
{{ doneCount }} erledigt
37+
<svg
38+
style="margin-left: 8px; width: 20px; height: 20px"
39+
aria-hidden="true"
40+
class="m-button__icon"
41+
>
42+
<use href="#icon-check" />
43+
</svg>
44+
</muc-chip>
4445
</div>
4546
</div>
4647
</muc-intro>

personalization-webcomponents/src/util/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function getChecklistIconByTitle(checklistTitle: string) {
1010
"https://stadt.muenchen.de/dam/Home/lhm_common/service-navigator/10482700.svg",
1111
"Ich manage eine Familie.":
1212
"https://stadt.muenchen.de/dam/Home/lhm_common/service-navigator/10483310.svg",
13-
"Einwanderung":
13+
Einwanderung:
1414
"https://stadt.muenchen.de/dam/Home/lhm_common/service-navigator/10483311.svg",
1515
}[checklistTitle];
1616
}

0 commit comments

Comments
 (0)