fix pug indent issue

This commit is contained in:
lesion
2022-07-01 15:55:09 +02:00
parent baeb141ccd
commit 1ca44cf048
31 changed files with 888 additions and 894 deletions

View File

@@ -30,7 +30,6 @@
<script>
import ical from 'ical.js'
import get from 'lodash/get'
import { mapState } from 'vuex'
export default {
name: 'ImportDialog',

View File

@@ -19,7 +19,7 @@ import { mdiAlert, mdiCloseCircle, mdiInformation } from '@mdi/js'
export default {
data () {
return {
mdiAlert, mdiAlert, mdiCloseCircle, mdiInformation,
mdiAlert, mdiCloseCircle, mdiInformation,
icon: mdiInformation,
color: 'secondary',
bottom: true,

View File

@@ -29,7 +29,6 @@
:color='item.visible?"warning":"success"') {{item.visible?$t('common.disable'):$t('common.enable')}}
v-btn(text small @click='edit(item)' color='primary') {{$t('common.edit')}}
v-btn(text small @click='remove(item)' color='error') {{$t('common.delete')}}
</template>
<script>
import { mapActions } from 'vuex'

View File

@@ -15,7 +15,6 @@
v-btn(text small :to='`/add/${item.id}`' color='warning') {{$t('common.edit')}}
v-btn(text small @click='remove(item)'
color='error') {{$t('common.delete')}}
</template>
<script>
import { mdiChevronLeft, mdiChevronRight } from '@mdi/js'

View File

@@ -57,7 +57,6 @@
v-btn(text @click='$emit("complete")' color='primary' v-if='setup') {{$t('common.next')}}
v-icon(v-text='mdiArrowRight')
</template>
<script>
import SMTP from './SMTP.vue'

View File

@@ -52,7 +52,6 @@
v-tab(v-if='settings.enable_federation') {{$t('common.moderation')}}
v-tab-item
Moderation
</template>
<script>
import { mapState } from 'vuex'

View File

@@ -3,14 +3,13 @@
v-card
v-card-title {{announcement.title}}
v-card-text(v-html='announcement.announcement')
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'Announcement',
asyncData ({ $axios, params, error, store }) {
asyncData ({ params, error, store }) {
try {
const id = Number(params.id)
const announcement = store.state.announcements.find(a => a.id === id)

View File

@@ -15,7 +15,7 @@
export default {
layout: 'iframe',
async asyncData ({ $axios, params, error, store }) {
async asyncData ({ $axios, params, error }) {
try {
const event = await $axios.$get(`/event/${params.event_id}`)
return { event }

View File

@@ -1,5 +1,5 @@
<template lang="pug">
List(:events="events" :title='title')
<template>
<List :events="events" :title='title'/>
</template>
<script>
import List from '../../components/List'