Commit 09efcd58 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

FIX: correct code for three linter warnings

parent 4ec77c33
......@@ -11,7 +11,7 @@
variant="info"
>
<b-dropdown-item
v-for="(show, index) in this.shows"
v-for="(show, index) in shows"
:key="show.id"
@click="switchShow(index)"
>
......
......@@ -8,7 +8,7 @@
variant="info"
>
<b-dropdown-item
v-for="(show, index) in this.shows"
v-for="(show, index) in shows"
:key="show.id"
@click="switchShow(index)"
>
......@@ -46,6 +46,12 @@
@click="$refs.appModalShow.showDescription()"
>
<div v-if="loaded.shows">
<!--
we are disabling the linter warning for the next line, because, while it
generally is not advisible to use v-html, in this case we took thorough
steps to sanitize the date before inserting it into the DOM
-->
<!-- eslint-disable-next-line vue/no-v-html -->
<p v-html="sanitizedShowDescription" />
<!-- TODO: add image and logo here? -->
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment