diff --git a/js/src/components/Account/ActorCard.vue b/js/src/components/Account/ActorCard.vue index 32eb19f61..b5fbe5ee9 100644 --- a/js/src/components/Account/ActorCard.vue +++ b/js/src/components/Account/ActorCard.vue @@ -1,6 +1,6 @@ <template> <div> - <div class="media" style="align-items: top;"> + <div class="media" style="align-items: top"> <div class="media-left"> <figure class="image is-32x32" v-if="actor.avatar"> <img class="is-rounded" :src="actor.avatar.url" alt="" /> diff --git a/js/src/components/Comment/Comment.vue b/js/src/components/Comment/Comment.vue index c1a73eb2e..b98330ac8 100644 --- a/js/src/components/Comment/Comment.vue +++ b/js/src/components/Comment/Comment.vue @@ -66,11 +66,7 @@ " > <div class="level-left"> - <span - style="cursor: pointer;" - class="level-item" - @click="createReplyToComment(comment)" - > + <span style="cursor: pointer" class="level-item" @click="createReplyToComment(comment)"> <span class="icon is-small"> <b-icon icon="reply" /> </span> diff --git a/js/src/components/Map/Vue2LeafletLocateControl.vue b/js/src/components/Map/Vue2LeafletLocateControl.vue index 03560bdca..9a69db9f0 100644 --- a/js/src/components/Map/Vue2LeafletLocateControl.vue +++ b/js/src/components/Map/Vue2LeafletLocateControl.vue @@ -1,5 +1,5 @@ <template> - <div style="display: none;"> + <div style="display: none"> <slot v-if="ready"></slot> </div> </template> diff --git a/js/src/graphql/actor.ts b/js/src/graphql/actor.ts index c1be5e61a..ca552f9b0 100644 --- a/js/src/graphql/actor.ts +++ b/js/src/graphql/actor.ts @@ -163,12 +163,8 @@ export const UPDATE_CURRENT_ACTOR_CLIENT = gql` $preferredUsername: String! $name: String! ) { - updateCurrentActor( - id: $id - avatar: $avatar - preferredUsername: $preferredUsername - name: $name - ) @client + updateCurrentActor(id: $id, avatar: $avatar, preferredUsername: $preferredUsername, name: $name) + @client } `; diff --git a/js/src/graphql/discussion.ts b/js/src/graphql/discussion.ts index 29d04557b..726f7be1e 100644 --- a/js/src/graphql/discussion.ts +++ b/js/src/graphql/discussion.ts @@ -99,7 +99,7 @@ export const GET_DISCUSSION = gql` query getDiscussion($slug: String!, $page: Int, $limit: Int) { discussion(slug: $slug) { comments(page: $page, limit: $limit) - @connection(key: "discussion-comments", filter: ["slug"]) { + @connection(key: "discussion-comments", filter: ["slug"]) { total elements { id diff --git a/js/src/views/About/AboutMobilizon.vue b/js/src/views/About/AboutMobilizon.vue index 3518c6f25..9e0ea6eb2 100644 --- a/js/src/views/About/AboutMobilizon.vue +++ b/js/src/views/About/AboutMobilizon.vue @@ -127,7 +127,7 @@ <img src="/img/about/software-to-the-people-mobilizon.png" width="300" - :alt="('Software to the people')" + :alt="'Software to the people'" /> </div> </div> diff --git a/js/src/views/Admin/Users.vue b/js/src/views/Admin/Users.vue index 89a51af90..218e1f28a 100644 --- a/js/src/views/Admin/Users.vue +++ b/js/src/views/Admin/Users.vue @@ -21,7 +21,7 @@ :show-detail-icon="true" :total="users.total" :per-page="USERS_PER_PAGE" - :has-detailed-visible="(row => row.actors.length > 0)" + :has-detailed-visible="(row) => row.actors.length > 0" @page-change="onPageChange" @filters-change="onFiltersChange" > diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue index 60267d537..9d6ebc8fa 100644 --- a/js/src/views/Event/Edit.vue +++ b/js/src/views/Event/Edit.vue @@ -215,7 +215,7 @@ </div> <b-modal :active.sync="dateSettingsIsOpen" has-modal-card trap-focus> <form action> - <div class="modal-card" style="width: auto;"> + <div class="modal-card" style="width: auto"> <header class="modal-card-head"> <p class="modal-card-title">{{ $t("Date and time settings") }}</p> </header> diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 6c09af669..050289ca8 100644 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -15,7 +15,7 @@ <date-calendar-icon :date="event.beginsOn" /> </div> <div class="column"> - <h1 class="title" style="margin: 0;">{{ event.title }}</h1> + <h1 class="title" style="margin: 0">{{ event.title }}</h1> <div class="organizer"> <span v-if="event.organizerActor && !event.attributedTo"> <popover-actor-card :actor="event.organizerActor" :inline="true"> diff --git a/js/src/views/Search.vue b/js/src/views/Search.vue index 95e048c9f..14615d149 100644 --- a/js/src/views/Search.vue +++ b/js/src/views/Search.vue @@ -34,15 +34,16 @@ v-for="(radiusOption, index) in radiusOptions" :key="index" :value="radiusOption" - >{{ radiusString(radiusOption) }}</option > + {{ radiusString(radiusOption) }} + </option> </b-select> </b-field> <b-field :label="$t('Date')" label-for="date"> <b-select v-model="when" id="date" :disabled="activeTab !== 0"> - <option v-for="(option, index) in options" :key="index" :value="option">{{ - option.label - }}</option> + <option v-for="(option, index) in options" :key="index" :value="option"> + {{ option.label }} + </option> </b-select> </b-field> </b-field> diff --git a/js/src/views/Settings/Notifications.vue b/js/src/views/Settings/Notifications.vue index 9974f0303..fc7892670 100644 --- a/js/src/views/Settings/Notifications.vue +++ b/js/src/views/Settings/Notifications.vue @@ -85,8 +85,9 @@ v-for="(value, key) in notificationPendingParticipationValues" :value="key" :key="key" - >{{ value }}</option > + {{ value }} + </option> </b-select> </div> </section> diff --git a/js/src/views/User/ProviderValidation.vue b/js/src/views/User/ProviderValidation.vue index 097e35f5b..f62dd62c4 100644 --- a/js/src/views/User/ProviderValidation.vue +++ b/js/src/views/User/ProviderValidation.vue @@ -1,4 +1,4 @@ -<template> </template> +<template></template> <script lang="ts"> import { Component, Prop, Vue } from "vue-property-decorator"; import { VALIDATE_USER, UPDATE_CURRENT_USER_CLIENT, LOGGED_USER } from "../../graphql/user";