mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +00:00
I meant finally
, not then
, thanks fEmber
This commit is contained in:
parent
cb43994841
commit
388926775e
4 changed files with 8 additions and 8 deletions
|
@ -438,7 +438,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
}
|
||||
} else if (!appearNote.value.channel || appearNote.value.channel.allowRenoteToExternal) {
|
||||
const el = renoteButton.value as HTMLElement | null | undefined;
|
||||
|
@ -457,7 +457,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => renoting = false);
|
||||
}).finally(() => renoting = false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -459,7 +459,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
} else if (!appearNote.value.channel || appearNote.value.channel.allowRenoteToExternal) {
|
||||
const el = renoteButton.value as HTMLElement | null | undefined;
|
||||
if (el) {
|
||||
|
@ -476,7 +476,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -439,7 +439,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
}
|
||||
} else if (!appearNote.value.channel || appearNote.value.channel.allowRenoteToExternal) {
|
||||
const el = renoteButton.value as HTMLElement | null | undefined;
|
||||
|
@ -458,7 +458,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -468,7 +468,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
} else if (!appearNote.value.channel || appearNote.value.channel.allowRenoteToExternal) {
|
||||
const el = renoteButton.value as HTMLElement | null | undefined;
|
||||
if (el) {
|
||||
|
@ -485,7 +485,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
|||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).then(() => { renoting = false });
|
||||
}).finally(() => { renoting = false });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue