fix pug indent issue
This commit is contained in:
@@ -30,7 +30,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import ical from 'ical.js'
|
import ical from 'ical.js'
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ImportDialog',
|
name: 'ImportDialog',
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import { mdiAlert, mdiCloseCircle, mdiInformation } from '@mdi/js'
|
|||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
mdiAlert, mdiAlert, mdiCloseCircle, mdiInformation,
|
mdiAlert, mdiCloseCircle, mdiInformation,
|
||||||
icon: mdiInformation,
|
icon: mdiInformation,
|
||||||
color: 'secondary',
|
color: 'secondary',
|
||||||
bottom: true,
|
bottom: true,
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
:color='item.visible?"warning":"success"') {{item.visible?$t('common.disable'):$t('common.enable')}}
|
: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='edit(item)' color='primary') {{$t('common.edit')}}
|
||||||
v-btn(text small @click='remove(item)' color='error') {{$t('common.delete')}}
|
v-btn(text small @click='remove(item)' color='error') {{$t('common.delete')}}
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapActions } from 'vuex'
|
import { mapActions } from 'vuex'
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
v-btn(text small :to='`/add/${item.id}`' color='warning') {{$t('common.edit')}}
|
v-btn(text small :to='`/add/${item.id}`' color='warning') {{$t('common.edit')}}
|
||||||
v-btn(text small @click='remove(item)'
|
v-btn(text small @click='remove(item)'
|
||||||
color='error') {{$t('common.delete')}}
|
color='error') {{$t('common.delete')}}
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mdiChevronLeft, mdiChevronRight } from '@mdi/js'
|
import { mdiChevronLeft, mdiChevronRight } from '@mdi/js'
|
||||||
|
|||||||
@@ -57,7 +57,6 @@
|
|||||||
v-btn(text @click='$emit("complete")' color='primary' v-if='setup') {{$t('common.next')}}
|
v-btn(text @click='$emit("complete")' color='primary' v-if='setup') {{$t('common.next')}}
|
||||||
v-icon(v-text='mdiArrowRight')
|
v-icon(v-text='mdiArrowRight')
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import SMTP from './SMTP.vue'
|
import SMTP from './SMTP.vue'
|
||||||
|
|||||||
@@ -52,7 +52,6 @@
|
|||||||
v-tab(v-if='settings.enable_federation') {{$t('common.moderation')}}
|
v-tab(v-if='settings.enable_federation') {{$t('common.moderation')}}
|
||||||
v-tab-item
|
v-tab-item
|
||||||
Moderation
|
Moderation
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|||||||
@@ -3,14 +3,13 @@
|
|||||||
v-card
|
v-card
|
||||||
v-card-title {{announcement.title}}
|
v-card-title {{announcement.title}}
|
||||||
v-card-text(v-html='announcement.announcement')
|
v-card-text(v-html='announcement.announcement')
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Announcement',
|
name: 'Announcement',
|
||||||
asyncData ({ $axios, params, error, store }) {
|
asyncData ({ params, error, store }) {
|
||||||
try {
|
try {
|
||||||
const id = Number(params.id)
|
const id = Number(params.id)
|
||||||
const announcement = store.state.announcements.find(a => a.id === id)
|
const announcement = store.state.announcements.find(a => a.id === id)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
layout: 'iframe',
|
layout: 'iframe',
|
||||||
async asyncData ({ $axios, params, error, store }) {
|
async asyncData ({ $axios, params, error }) {
|
||||||
try {
|
try {
|
||||||
const event = await $axios.$get(`/event/${params.event_id}`)
|
const event = await $axios.$get(`/event/${params.event_id}`)
|
||||||
return { event }
|
return { event }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template lang="pug">
|
<template>
|
||||||
List(:events="events" :title='title')
|
<List :events="events" :title='title'/>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import List from '../../components/List'
|
import List from '../../components/List'
|
||||||
|
|||||||
Reference in New Issue
Block a user