Skip to content
Snippets Groups Projects
Verified Commit b261631b authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Allow setting custom color for events in Vue

parent 63868fcd
No related branches found
No related tags found
1 merge request!1148Calendar events and iCal feeds
......@@ -6,7 +6,7 @@
offset-x
>
<v-card min-width="350px" flat>
<v-toolbar :color="selectedEvent.color" dark dense>
<v-toolbar :color="color || selectedEvent.color" dark dense>
<v-toolbar-title>
<slot name="title" :selected-event="selectedEvent">{{
selectedEvent.name
......
......@@ -27,6 +27,11 @@ const calendarFeedDetailsMixin = {
type: Boolean,
default: false,
},
color: {
required: false,
type: String,
default: null,
},
},
computed: {
model: {
......
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