mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 13:36:44 -06:00
Refactor: Better key name
This commit is contained in:
parent
a0f35e240f
commit
8d1db30129
1 changed files with 4 additions and 4 deletions
|
@ -1,28 +1,28 @@
|
||||||
<template>
|
<template>
|
||||||
<x-popup :source="source" ref="popup" @closed="() => { $emit('closed'); destroyDom(); }">
|
<x-popup :source="source" ref="popup" @closed="() => { $emit('closed'); destroyDom(); }">
|
||||||
<sequential-entrance class="gqyayizv" :delay="30">
|
<sequential-entrance class="gqyayizv" :delay="30">
|
||||||
<button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="0" key="0">
|
<button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="1" key="public">
|
||||||
<div><fa :icon="faGlobe"/></div>
|
<div><fa :icon="faGlobe"/></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $t('_visibility.public') }}</span>
|
<span>{{ $t('_visibility.public') }}</span>
|
||||||
<span>{{ $t('_visibility.publicDescription') }}</span>
|
<span>{{ $t('_visibility.publicDescription') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="choose('home')" :class="{ active: v == 'home' }" data-index="1" key="1">
|
<button class="_button" @click="choose('home')" :class="{ active: v == 'home' }" data-index="2" key="home">
|
||||||
<div><fa :icon="faHome"/></div>
|
<div><fa :icon="faHome"/></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $t('_visibility.home') }}</span>
|
<span>{{ $t('_visibility.home') }}</span>
|
||||||
<span>{{ $t('_visibility.homeDescription') }}</span>
|
<span>{{ $t('_visibility.homeDescription') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="choose('followers')" :class="{ active: v == 'followers' }" data-index="2" key="2">
|
<button class="_button" @click="choose('followers')" :class="{ active: v == 'followers' }" data-index="3" key="followers">
|
||||||
<div><fa :icon="faUnlock"/></div>
|
<div><fa :icon="faUnlock"/></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $t('_visibility.followers') }}</span>
|
<span>{{ $t('_visibility.followers') }}</span>
|
||||||
<span>{{ $t('_visibility.followersDescription') }}</span>
|
<span>{{ $t('_visibility.followersDescription') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="choose('specified')" :class="{ active: v == 'specified' }" data-index="3" key="3">
|
<button class="_button" @click="choose('specified')" :class="{ active: v == 'specified' }" data-index="4" key="specified">
|
||||||
<div><fa :icon="faEnvelope"/></div>
|
<div><fa :icon="faEnvelope"/></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $t('_visibility.specified') }}</span>
|
<span>{{ $t('_visibility.specified') }}</span>
|
||||||
|
|
Loading…
Reference in a new issue