Run Prettier with updated version
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c2f3b4b7e0
commit
9b0b753064
@ -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="" />
|
||||
|
@ -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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div style="display: none;">
|
||||
<div style="display: none">
|
||||
<slot v-if="ready"></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -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
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
>
|
||||
|
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -85,8 +85,9 @@
|
||||
v-for="(value, key) in notificationPendingParticipationValues"
|
||||
:value="key"
|
||||
:key="key"
|
||||
>{{ value }}</option
|
||||
>
|
||||
{{ value }}
|
||||
</option>
|
||||
</b-select>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user