forked from FoundKeyGang/FoundKey
[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>
|
<span v-else><fa :icon="['far', 'eye-slash']"/> {{ $t('mute') }}</span>
|
||||||
</ui-button>
|
</ui-button>
|
||||||
<ui-button @click="user.isBlocking ? unblock() : block()" v-if="$store.state.i.id != user.id">
|
<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-if="user.isBlocking"><fa icon="ban"/> {{ $t('unblock') }}</span>
|
||||||
<span v-else><fa icon="user-slash"/> {{ $t('block') }}</span>
|
<span v-else><fa icon="ban"/> {{ $t('block') }}</span>
|
||||||
</ui-button>
|
</ui-button>
|
||||||
<ui-button @click="list"><fa icon="list"/> {{ $t('push-to-a-list') }}</ui-button>
|
<ui-button @click="list"><fa icon="list"/> {{ $t('push-to-a-list') }}</ui-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -113,6 +113,7 @@ import {
|
||||||
faSpinner,
|
faSpinner,
|
||||||
faBroadcastTower,
|
faBroadcastTower,
|
||||||
faChartLine,
|
faChartLine,
|
||||||
|
faEllipsisV,
|
||||||
} from '@fortawesome/free-solid-svg-icons';
|
} from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -229,6 +230,7 @@ library.add(
|
||||||
faSpinner,
|
faSpinner,
|
||||||
faBroadcastTower,
|
faBroadcastTower,
|
||||||
faChartLine,
|
faChartLine,
|
||||||
|
faEllipsisV,
|
||||||
|
|
||||||
farBell,
|
farBell,
|
||||||
farEnvelope,
|
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'),
|
text: this.user.isBlocking ? this.$t('unblock') : this.$t('block'),
|
||||||
action: () => {
|
action: () => {
|
||||||
if (this.user.isBlocking) {
|
if (this.user.isBlocking) {
|
||||||
|
|
Loading…
Reference in a new issue