Skip to content
Snippets Groups Projects
Verified Commit d18c5f48 authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

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

parent aa4f1ce2
No related branches found
No related tags found
1 merge request!26Add possibility to add an append-icon to the subject chip
Pipeline #170962 passed with warnings
......@@ -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>
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