Skip to content
Snippets Groups Projects

Add possibility to add an append-icon to the subject chip

Merged Julian requested to merge subject-chip-with-icon into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -11,6 +11,11 @@ export default {
required: false,
default: false,
},
appendIcon: {
type: String,
default: null,
required: false,
},
},
};
</script>
@@ -18,5 +23,6 @@ export default {
<template>
<v-chip :color="subject.colourBg" :text-color="subject.colourFg">
{{ shortName ? subject.shortName : subject.name }}
<v-icon right v-if="appendIcon">{{ appendIcon }}</v-icon>
</v-chip>
</template>
Loading