fix some warnings

This commit is contained in:
Henry Jameson 2022-03-17 08:35:19 +02:00
parent 8311d4deba
commit be4244acde
8 changed files with 71 additions and 73 deletions

View File

@ -59,7 +59,7 @@
<UserReportingModal /> <UserReportingModal />
<PostStatusModal /> <PostStatusModal />
<SettingsModal /> <SettingsModal />
<div id="modal"/> <div id="modal" />
<GlobalNoticeList /> <GlobalNoticeList />
</div> </div>
</template> </template>

View File

@ -4,7 +4,7 @@
<UserAvatar <UserAvatar
class="avatar" class="avatar"
:user="user" :user="user"
@click.prevent.native="toggleUserExpanded" @click.prevent="toggleUserExpanded"
/> />
</router-link> </router-link>
<div <div

View File

@ -26,7 +26,6 @@
/> />
</div> </div>
</div> </div>
<template>
<div <div
ref="scrollable" ref="scrollable"
class="scrollable-message-list" class="scrollable-message-list"
@ -92,7 +91,6 @@
@resize="handleResize" @resize="handleResize"
/> />
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>

View File

@ -7,7 +7,7 @@
type="checkbox" type="checkbox"
:disabled="disabled" :disabled="disabled"
:checked="checked" :checked="checked"
:indeterminate.prop="indeterminate" :indeterminate="indeterminate"
@change="$emit('change', $event.target.checked)" @change="$emit('change', $event.target.checked)"
> >
<i class="checkbox-indicator" /> <i class="checkbox-indicator" />

View File

@ -34,7 +34,7 @@
<search-bar <search-bar
v-if="currentUser || !privateMode" v-if="currentUser || !privateMode"
@toggled="onSearchBarToggled" @toggled="onSearchBarToggled"
@click.stop.native @click.stop
/> />
<button <button
class="button-unstyled nav-icon" class="button-unstyled nav-icon"

View File

@ -1,4 +1,4 @@
import { set } from 'vue' import { set } from 'lodash'
import Select from '../select/select.vue' import Select from '../select/select.vue'
export default { export default {

View File

@ -25,14 +25,14 @@
icon="times" icon="times"
@click="dismiss" @click="dismiss"
/> />
<p>{{ successMessage || $t('importer.success')}}</p> <p>{{ successMessage || $t('importer.success') }}</p>
</div> </div>
<div v-else-if="error"> <div v-else-if="error">
<FAIcon <FAIcon
icon="times" icon="times"
@click="dismiss" @click="dismiss"
/> />
<p>{{ errorMessage || $t('importer.error')}}</p> <p>{{ errorMessage || $t('importer.error') }}</p>
</div> </div>
</div> </div>
</template> </template>

View File

@ -123,7 +123,7 @@
> >
<router-link <router-link
:to="userProfileLink" :to="userProfileLink"
@click.stop.prevent.capture.native="toggleUserExpanded" @click.stop.prevent.capture="toggleUserExpanded"
> >
<UserAvatar <UserAvatar
:bot="botIndicator" :bot="botIndicator"