Run Prettier with updated version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-08-27 15:41:48 +02:00
parent c2f3b4b7e0
commit 9b0b753064
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
12 changed files with 18 additions and 24 deletions

View File

@ -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="" />

View File

@ -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>

View File

@ -1,5 +1,5 @@
<template>
<div style="display: none;">
<div style="display: none">
<slot v-if="ready"></slot>
</div>
</template>

View File

@ -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
}
`;

View File

@ -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

View File

@ -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>

View File

@ -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"
>

View File

@ -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>

View File

@ -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">

View File

@ -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>

View File

@ -85,8 +85,9 @@
v-for="(value, key) in notificationPendingParticipationValues"
:value="key"
:key="key"
>{{ value }}</option
>
{{ value }}
</option>
</b-select>
</div>
</section>

View File

@ -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";