fix: don't show quoted toast on cancel of quote note
This commit is contained in:
@@ -353,7 +353,8 @@ function quote() {
|
||||
os.post({
|
||||
renote: appearNote.value,
|
||||
channel: appearNote.value.channel,
|
||||
}).then(() => {
|
||||
}).then((cancelled) => {
|
||||
if (cancelled) return;
|
||||
misskeyApi('notes/renotes', {
|
||||
noteId: props.note.id,
|
||||
userId: $i.id,
|
||||
@@ -377,7 +378,8 @@ function quote() {
|
||||
} else {
|
||||
os.post({
|
||||
renote: appearNote.value,
|
||||
}).then(() => {
|
||||
}).then((cancelled) => {
|
||||
if (cancelled) return;
|
||||
misskeyApi('notes/renotes', {
|
||||
noteId: props.note.id,
|
||||
userId: $i.id,
|
||||
|
||||
Reference in New Issue
Block a user