Fix some new eslint rules

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-09 08:52:43 +01:00
parent 6a03e49b63
commit 90665f0294
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 3 additions and 7 deletions

View File

@ -6,7 +6,7 @@
:class="{ inline, clickable: actor && actor.type === ActorType.GROUP }" :class="{ inline, clickable: actor && actor.type === ActorType.GROUP }"
> >
<slot></slot> <slot></slot>
<template slot="popover" class="popover"> <template slot="popover">
<actor-card :full="true" :actor="actor" :popover="true" /> <actor-card :full="true" :actor="actor" :popover="true" />
</template> </template>
</v-popover> </v-popover>

View File

@ -82,11 +82,7 @@
tag="span" tag="span"
@keyup.enter="toggleMenu" @keyup.enter="toggleMenu"
> >
<template <template slot="label" v-if="currentActor">
slot="label"
v-if="currentActor"
class="navbar-dropdown-profile"
>
<div class="identity-wrapper"> <div class="identity-wrapper">
<div> <div>
<figure class="image is-32x32" v-if="currentActor.avatar"> <figure class="image is-32x32" v-if="currentActor.avatar">

View File

@ -83,7 +83,7 @@
@cancel-anonymous-participation="cancelAnonymousParticipation" @cancel-anonymous-participation="cancelAnonymousParticipation"
/> />
<div class="has-text-right"> <div class="has-text-right">
<template class="visibility" v-if="!event.draft"> <template v-if="!event.draft">
<p v-if="event.visibility === EventVisibility.PUBLIC"> <p v-if="event.visibility === EventVisibility.PUBLIC">
{{ $t("Public event") }} {{ $t("Public event") }}
<b-icon icon="earth" /> <b-icon icon="earth" />