Fix processing icon (#3705)
This commit is contained in:
		
							parent
							
								
									f7964da899
								
							
						
					
					
						commit
						decf2d396f
					
				
					 3 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -48,7 +48,7 @@ export default Vue.extend({
 | 
				
			||||||
		iconAndText(): any[] {
 | 
							iconAndText(): any[] {
 | 
				
			||||||
			return (
 | 
								return (
 | 
				
			||||||
				(this.hasPendingFollowRequestFromYou && this.user.isLocked) ? ['hourglass-half', this.$t('request-pending')] :
 | 
									(this.hasPendingFollowRequestFromYou && this.user.isLocked) ? ['hourglass-half', this.$t('request-pending')] :
 | 
				
			||||||
				(this.hasPendingFollowRequestFromYou && !this.user.isLocked) ? ['hourglass-start', this.$t('follow-processing')] :
 | 
									(this.hasPendingFollowRequestFromYou && !this.user.isLocked) ? ['spinner', this.$t('follow-processing')] :
 | 
				
			||||||
				(this.isFollowing) ? ['minus', this.$t('following')] :
 | 
									(this.isFollowing) ? ['minus', this.$t('following')] :
 | 
				
			||||||
				(!this.isFollowing && this.user.isLocked) ? ['plus', this.$t('follow-request')] :
 | 
									(!this.isFollowing && this.user.isLocked) ? ['plus', this.$t('follow-request')] :
 | 
				
			||||||
				(!this.isFollowing && !this.user.isLocked) ? ['plus', this.$t('follow')] :
 | 
									(!this.isFollowing && !this.user.isLocked) ? ['plus', this.$t('follow')] :
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
			:disabled="followWait">
 | 
								:disabled="followWait">
 | 
				
			||||||
		<template v-if="!followWait">
 | 
							<template v-if="!followWait">
 | 
				
			||||||
			<template v-if="user.hasPendingFollowRequestFromYou && user.isLocked"><fa icon="hourglass-half"/> {{ $t('request-pending') }}</template>
 | 
								<template v-if="user.hasPendingFollowRequestFromYou && user.isLocked"><fa icon="hourglass-half"/> {{ $t('request-pending') }}</template>
 | 
				
			||||||
			<template v-else-if="user.hasPendingFollowRequestFromYou && !user.isLocked"><fa icon="hourglass-start"/> {{ $t('follow-processing') }}</template>
 | 
								<template v-else-if="user.hasPendingFollowRequestFromYou && !user.isLocked"><fa icon="spinner"/> {{ $t('follow-processing') }}</template>
 | 
				
			||||||
			<template v-else-if="user.isFollowing"><fa icon="minus"/> {{ $t('following') }}</template>
 | 
								<template v-else-if="user.isFollowing"><fa icon="minus"/> {{ $t('following') }}</template>
 | 
				
			||||||
			<template v-else-if="!user.isFollowing && user.isLocked"><fa icon="plus"/> {{ $t('follow-request') }}</template>
 | 
								<template v-else-if="!user.isFollowing && user.isLocked"><fa icon="plus"/> {{ $t('follow-request') }}</template>
 | 
				
			||||||
			<template v-else-if="!user.isFollowing && !user.isLocked"><fa icon="plus"/> {{ $t('follow') }}</template>
 | 
								<template v-else-if="!user.isFollowing && !user.isLocked"><fa icon="plus"/> {{ $t('follow') }}</template>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -123,6 +123,7 @@ import {
 | 
				
			||||||
	faArrowLeft,
 | 
						faArrowLeft,
 | 
				
			||||||
	faMapMarker,
 | 
						faMapMarker,
 | 
				
			||||||
	faRobot,
 | 
						faRobot,
 | 
				
			||||||
 | 
						faHourglassHalf,
 | 
				
			||||||
} from '@fortawesome/free-solid-svg-icons';
 | 
					} from '@fortawesome/free-solid-svg-icons';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
| 
						 | 
					@ -253,6 +254,7 @@ library.add(
 | 
				
			||||||
	faArrowLeft,
 | 
						faArrowLeft,
 | 
				
			||||||
	faMapMarker,
 | 
						faMapMarker,
 | 
				
			||||||
	faRobot,
 | 
						faRobot,
 | 
				
			||||||
 | 
						faHourglassHalf,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	farBell,
 | 
						farBell,
 | 
				
			||||||
	farEnvelope,
 | 
						farEnvelope,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue