Skip to content
Snippets Groups Projects
Commit d2ce3afa authored by Julian's avatar Julian
Browse files

Correctly declare counterchip

parent 70fafed3
No related branches found
No related tags found
1 merge request!27Resolve "Create AbsenceReasonButtons"
Pipeline #188731 passed with warnings
...@@ -3,7 +3,7 @@ import CounterChip from "aleksis.core/components/generic/chips/CounterChip.vue"; ...@@ -3,7 +3,7 @@ import CounterChip from "aleksis.core/components/generic/chips/CounterChip.vue";
export default { export default {
name: "AbsenceReasonChip", name: "AbsenceReasonChip",
components: [CounterChip], components: { CounterChip },
props: { props: {
absenceReason: { absenceReason: {
type: Object, type: Object,
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
default: false, default: false,
}, },
}, },
extends: "CounterChip", extends: CounterChip,
computed: { computed: {
text() { text() {
return this.short return this.short
...@@ -35,6 +35,7 @@ export default { ...@@ -35,6 +35,7 @@ export default {
<counter-chip <counter-chip
:color="absenceReason.colour" :color="absenceReason.colour"
:value="absenceReason.id" :value="absenceReason.id"
outlined
v-bind="$attrs" v-bind="$attrs"
v-on="$listeners" v-on="$listeners"
> >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment