Merge branch 'fix/fix-warnings' into 'develop'
Fix annoying console warnings See merge request pleroma/pleroma-fe!480
This commit is contained in:
		
						commit
						3b1cafc19f
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -39,7 +39,7 @@ export default (store) => { | |||
|     { name: 'dms', path: '/users/:username/dms', component: DMs }, | ||||
|     { name: 'settings', path: '/settings', component: Settings }, | ||||
|     { name: 'registration', path: '/registration', component: Registration }, | ||||
|     { name: 'registration', path: '/registration/:token', component: Registration }, | ||||
|     { name: 'registration-token', path: '/registration/:token', component: Registration }, | ||||
|     { name: 'friend-requests', path: '/friend-requests', component: FollowRequests }, | ||||
|     { name: 'user-settings', path: '/user-settings', component: UserSettings }, | ||||
|     { name: 'notifications', path: '/:username/notifications', component: Notifications }, | ||||
|  |  | |||
|  | @ -125,7 +125,7 @@ const Status = { | |||
|       return lengthScore > 20 | ||||
|     }, | ||||
|     isReply () { | ||||
|       return !!this.status.in_reply_to_status_id | ||||
|       return !!(this.status.in_reply_to_status_id && this.status.in_reply_to_user_id) | ||||
|     }, | ||||
|     replyToName () { | ||||
|       const user = this.$store.state.users.usersObject[this.status.in_reply_to_user_id] | ||||
|  |  | |||
|  | @ -20,8 +20,8 @@ | |||
|           <i class="icon-spin3 animate-spin"></i> | ||||
|         </div> | ||||
|       </div> | ||||
|       <Timeline :label="$t('user_card.media')" :embedded="true" :title="$t('user_profile.media_title')" timeline-name="media" :timeline="media" :user-id="fetchBy" /> | ||||
|       <Timeline v-if="isUs" :label="$t('user_card.favorites')" :embedded="true" :title="$t('user_profile.favorites_title')" timeline-name="favorites" :timeline="favorites"/> | ||||
|       <Timeline :label="$t('user_card.media')" :embedded="true" :title="$t('user_card.media')" timeline-name="media" :timeline="media" :user-id="fetchBy" /> | ||||
|       <Timeline v-if="isUs" :label="$t('user_card.favorites')" :embedded="true" :title="$t('user_card.favorites')" timeline-name="favorites" :timeline="favorites"/> | ||||
|     </tab-switcher> | ||||
|   </div> | ||||
|   <div v-else class="panel user-profile-placeholder"> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 lambda
						lambda