mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	chore: replace icons, change errors
This commit is contained in:
		
							parent
							
								
									42bf8e5e76
								
							
						
					
					
						commit
						04dbf7ebe9
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -283,7 +283,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
				
			||||||
				} else if (isPureRenote(reply)) {
 | 
									} else if (isPureRenote(reply)) {
 | 
				
			||||||
					throw new ApiError(meta.errors.cannotReplyToPureRenote);
 | 
										throw new ApiError(meta.errors.cannotReplyToPureRenote);
 | 
				
			||||||
				} else if (!await this.noteEntityService.isVisibleForMe(reply, me.id)) {
 | 
									} else if (!await this.noteEntityService.isVisibleForMe(reply, me.id)) {
 | 
				
			||||||
					throw new ApiError(meta.errors.cannotReplyToInvisibleNote);
 | 
										throw new ApiError(meta.errors.noSuchReplyTarget);
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				// Check blocking
 | 
									// Check blocking
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -258,7 +258,7 @@ export default function(props: MfmProps) {
 | 
				
			||||||
							style: 'display: inline-block; font-size: 90%; border: solid 1px var(--divider); border-radius: 999px; padding: 4px 10px 4px 6px;',
 | 
												style: 'display: inline-block; font-size: 90%; border: solid 1px var(--divider); border-radius: 999px; padding: 4px 10px 4px 6px;',
 | 
				
			||||||
						}, [
 | 
											}, [
 | 
				
			||||||
							h('i', {
 | 
												h('i', {
 | 
				
			||||||
								class: 'ti ti-clock',
 | 
													class: 'ph-clock ph-bold ph-lg',
 | 
				
			||||||
								style: 'margin-right: 0.25em;',
 | 
													style: 'margin-right: 0.25em;',
 | 
				
			||||||
							}),
 | 
												}),
 | 
				
			||||||
							h(MkTime, {
 | 
												h(MkTime, {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -302,7 +302,7 @@ function lookup(ev: MouseEvent) {
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
	}, {
 | 
						}, {
 | 
				
			||||||
		text: `${i18n.ts.user} (${i18n.ts.email})`,
 | 
							text: `${i18n.ts.user} (${i18n.ts.email})`,
 | 
				
			||||||
		icon: 'ti ti-user',
 | 
							icon: 'ph-user ph-bold ph-lg',
 | 
				
			||||||
		action: () => {
 | 
							action: () => {
 | 
				
			||||||
			lookupUserByEmail();
 | 
								lookupUserByEmail();
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -186,7 +186,7 @@ function getMenu() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (props.refresher) {
 | 
						if (props.refresher) {
 | 
				
			||||||
		items = [{
 | 
							items = [{
 | 
				
			||||||
			icon: 'ti ti-refresh',
 | 
								icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
 | 
				
			||||||
			text: i18n.ts.reload,
 | 
								text: i18n.ts.reload,
 | 
				
			||||||
			action: () => {
 | 
								action: () => {
 | 
				
			||||||
				if (props.refresher) {
 | 
									if (props.refresher) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue