mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-03 11:22:37 +02:00
client linter fix.
This commit is contained in:
parent
0e5e1faf35
commit
15edc0f73e
8 changed files with 36 additions and 43 deletions
|
@ -1,14 +1,6 @@
|
|||
<template>
|
||||
<div
|
||||
class="clipboard"
|
||||
v-if="opened"
|
||||
@click="$event.stopPropagation()"
|
||||
>
|
||||
<textarea
|
||||
ref="textarea"
|
||||
v-model="clipboard"
|
||||
@focus="$event.target.select()"
|
||||
/>
|
||||
<div class="clipboard" v-if="opened" @click="$event.stopPropagation()">
|
||||
<textarea ref="textarea" v-model="clipboard" @focus="$event.target.select()" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -23,7 +15,8 @@
|
|||
bottom: 10px;
|
||||
right: 10px;
|
||||
|
||||
&, textarea {
|
||||
&,
|
||||
textarea {
|
||||
max-width: 320px;
|
||||
width: 100%;
|
||||
max-height: 120px;
|
||||
|
|
|
@ -39,10 +39,10 @@
|
|||
<template v-if="admin && !child.data.member.admin">
|
||||
<li class="seperator" />
|
||||
<li>
|
||||
<span @click="kick(child.data.member)" style="color: #f04747;">{{ $t('context.kick') }}</span>
|
||||
<span @click="kick(child.data.member)" style="color: #f04747">{{ $t('context.kick') }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<span @click="ban(child.data.member)" style="color: #f04747;">{{ $t('context.ban') }}</span>
|
||||
<span @click="ban(child.data.member)" style="color: #f04747">{{ $t('context.ban') }}</span>
|
||||
</li>
|
||||
</template>
|
||||
</template>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<span>{{ $t('setting.broadcast_url') }}</span>
|
||||
<input v-model="broadcast_url" :disabled="broadcast_is_active" class="input">
|
||||
<input v-model="broadcast_url" :disabled="broadcast_is_active" class="input" />
|
||||
</li>
|
||||
</template>
|
||||
<li v-if="connected">
|
||||
|
@ -276,7 +276,7 @@
|
|||
|
||||
@Component({ name: 'neko-settings' })
|
||||
export default class extends Vue {
|
||||
private broadcast_url: string = '';
|
||||
private broadcast_url: string = ''
|
||||
|
||||
get admin() {
|
||||
return this.$accessor.user.admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue