From 348ce306c8dbb89097e7112e62c0f28c4381fec3 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 11 May 2020 09:20:55 +0200 Subject: [PATCH] Fixes Signed-off-by: Thomas Citharel --- js/src/components/Conversation/ConversationListItem.vue | 4 ++-- js/src/views/Event/Edit.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/components/Conversation/ConversationListItem.vue b/js/src/components/Conversation/ConversationListItem.vue index 4aa31a43e..bcf4b3de8 100644 --- a/js/src/components/Conversation/ConversationListItem.vue +++ b/js/src/components/Conversation/ConversationListItem.vue @@ -22,9 +22,9 @@ export default class ConversationListItem extends Vue { @Prop({ required: true, type: Object }) conversation!: IConversation; RouteName = RouteName; - htmlTextEllipsis(HTMLText: string) { + htmlTextEllipsis(htmlText: string) { const element = document.createElement('div'); - element.innerHTML = HTMLText.replace(//gi, ' ').replace(/

/gi, ' '); + element.innerHTML = htmlText.replace(//gi, ' ').replace(/

/gi, ' '); return element.innerText; } } diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue index 337b1a118..cbd605ac5 100644 --- a/js/src/views/Event/Edit.vue +++ b/js/src/views/Event/Edit.vue @@ -402,7 +402,7 @@ export default class EditEvent extends Vue { @Watch('eventId', { immediate: true }) resetFormForCreation(eventId) { - if (eventId == undefined) { + if (eventId === undefined) { this.event = new EventModel(); } }