fix: don't show quoted toast on cancel of quote note
This commit is contained in:
parent
bde6bb0bd2
commit
e21e2530e6
8 changed files with 36 additions and 18 deletions
|
|
@ -565,7 +565,8 @@ function quote() {
|
|||
os.post({
|
||||
renote: appearNote.value,
|
||||
channel: appearNote.value.channel,
|
||||
}).then(() => {
|
||||
}).then((cancelled) => {
|
||||
if (cancelled) return;
|
||||
misskeyApi('notes/renotes', {
|
||||
noteId: appearNote.value.id,
|
||||
userId: $i?.id,
|
||||
|
|
@ -589,7 +590,8 @@ function quote() {
|
|||
} else {
|
||||
os.post({
|
||||
renote: appearNote.value,
|
||||
}).then(() => {
|
||||
}).then((cancelled) => {
|
||||
if (cancelled) return;
|
||||
misskeyApi('notes/renotes', {
|
||||
noteId: appearNote.value.id,
|
||||
userId: $i?.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue