mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 02:03:08 +02: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)) {
|
||||
throw new ApiError(meta.errors.cannotReplyToPureRenote);
|
||||
} else if (!await this.noteEntityService.isVisibleForMe(reply, me.id)) {
|
||||
throw new ApiError(meta.errors.cannotReplyToInvisibleNote);
|
||||
throw new ApiError(meta.errors.noSuchReplyTarget);
|
||||
}
|
||||
|
||||
// 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;',
|
||||
}, [
|
||||
h('i', {
|
||||
class: 'ti ti-clock',
|
||||
class: 'ph-clock ph-bold ph-lg',
|
||||
style: 'margin-right: 0.25em;',
|
||||
}),
|
||||
h(MkTime, {
|
||||
|
|
|
@ -302,7 +302,7 @@ function lookup(ev: MouseEvent) {
|
|||
},
|
||||
}, {
|
||||
text: `${i18n.ts.user} (${i18n.ts.email})`,
|
||||
icon: 'ti ti-user',
|
||||
icon: 'ph-user ph-bold ph-lg',
|
||||
action: () => {
|
||||
lookupUserByEmail();
|
||||
},
|
||||
|
|
|
@ -186,7 +186,7 @@ function getMenu() {
|
|||
|
||||
if (props.refresher) {
|
||||
items = [{
|
||||
icon: 'ti ti-refresh',
|
||||
icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
|
||||
text: i18n.ts.reload,
|
||||
action: () => {
|
||||
if (props.refresher) {
|
||||
|
|
Loading…
Reference in a new issue