Address PR comments

This commit is contained in:
Andrei Andreev 2021-11-28 14:29:15 +03:00
parent 0b95c57457
commit 751a8eefdf
2 changed files with 9 additions and 2 deletions

View File

@ -36,6 +36,13 @@
"vue/order-in-components": "off",
"vue/require-prop-type-constructor": "off",
"vue/require-default-prop": "off",
"vue/html-comment-content-newline": "warn",
"vue/html-comment-content-spacing": "warn",
"vue/html-comment-indent": "warn",
"vue/padding-line-between-blocks": "warn",
"vue/block-tag-newline": "warn",
"vue/no-multiple-objects-in-class": "warn",
"vue/no-static-inline-styles": "warn",
"no-empty-function": "error",
"no-eval": "error",
"no-extra-bind": "error",

View File

@ -155,14 +155,14 @@ export default {
v-if="!$slots.header"
ref="expandButton"
class="l-expanding-control-box__button"
@click="openRequest=!openRequest"
@click="openRequest = !openRequest"
>
{{ label }}
</div>
<div
v-else
ref="expandButton"
@click="openRequest=!openRequest"
@click="openRequest = !openRequest"
>
<slot name="header" />
</div>