Commit 340d0002 authored by Filipa Lacerda's avatar Filipa Lacerda

Disable rule in modal.vue breaking tests

parent ee90edae
<script>
/* eslint-disable vue/require-default-prop */
export default {
name: 'Modal',
......@@ -6,17 +7,14 @@
id: {
type: String,
required: false,
default: '',
},
title: {
type: String,
required: false,
default: '',
},
text: {
type: String,
required: false,
default: '',
},
hideFooter: {
type: Boolean,
......@@ -84,7 +82,7 @@
<div
:id="id"
class="modal"
:class="id === '' ? '' : 'show'"
:class="!id ? '' : 'show'"
role="dialog"
tabindex="-1"
>
......@@ -147,7 +145,7 @@
</div>
</div>
<div
v-if="id === ''"
v-if="!id"
class="modal-backdrop fade in"
>
</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