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

Fix props in calendar feed event bar

parent 76523f4d
No related branches found
No related tags found
1 merge request!1148Calendar events and iCal feeds
Pipeline #132218 failed
<template>
<div
class="mx-1 text-truncate"
:class="{ 'text-decoration-line-through': event.status === 'CANCELLED' }"
class="text-truncate"
:class="{ 'text-decoration-line-through': event.status === 'CANCELLED', 'mx-1': withPadding }"
:style="{ height: '100%' }"
>
<slot name="time" v-bind="$props">
......@@ -31,5 +31,22 @@ import calendarFeedEventBarMixin from "../../mixins/calendarFeedEventBar.js";
export default {
name: "BaseCalendarFeedEventBar",
mixins: [calendarFeedEventBarMixin],
props: {
withPadding: {
required: false,
type: Boolean,
default: true,
},
icon: {
required: false,
type: String,
default: "",
},
withoutTime: {
required: false,
type: Boolean,
default: false,
},
}
};
</script>
......@@ -15,16 +15,6 @@ const calendarFeedEventBarMixin = {
required: true,
type: String,
},
icon: {
required: false,
type: String,
default: "",
},
withoutTime: {
required: false,
type: Boolean,
default: false,
},
},
};
......
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