mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 01:36:43 -06:00
[Client] Fix icons
This commit is contained in:
parent
bf37a72f59
commit
e76bf5707a
3 changed files with 5 additions and 3 deletions
|
@ -14,8 +14,8 @@
|
|||
<span v-else><fa :icon="['far', 'eye-slash']"/> {{ $t('mute') }}</span>
|
||||
</ui-button>
|
||||
<ui-button @click="user.isBlocking ? unblock() : block()" v-if="$store.state.i.id != user.id">
|
||||
<span v-if="user.isBlocking"><fa icon="user"/> {{ $t('unblock') }}</span>
|
||||
<span v-else><fa icon="user-slash"/> {{ $t('block') }}</span>
|
||||
<span v-if="user.isBlocking"><fa icon="ban"/> {{ $t('unblock') }}</span>
|
||||
<span v-else><fa icon="ban"/> {{ $t('block') }}</span>
|
||||
</ui-button>
|
||||
<ui-button @click="list"><fa icon="list"/> {{ $t('push-to-a-list') }}</ui-button>
|
||||
</div>
|
||||
|
|
|
@ -113,6 +113,7 @@ import {
|
|||
faSpinner,
|
||||
faBroadcastTower,
|
||||
faChartLine,
|
||||
faEllipsisV,
|
||||
} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
import {
|
||||
|
@ -229,6 +230,7 @@ library.add(
|
|||
faSpinner,
|
||||
faBroadcastTower,
|
||||
faChartLine,
|
||||
faEllipsisV,
|
||||
|
||||
farBell,
|
||||
farEnvelope,
|
||||
|
|
|
@ -138,7 +138,7 @@ export default Vue.extend({
|
|||
}
|
||||
}
|
||||
}, {
|
||||
icon: this.user.isBlocking ? ['fas', 'user'] : ['fas', 'user-slash'],
|
||||
icon: 'ban',
|
||||
text: this.user.isBlocking ? this.$t('unblock') : this.$t('block'),
|
||||
action: () => {
|
||||
if (this.user.isBlocking) {
|
||||
|
|
Loading…
Reference in a new issue