Skip to content

Commit a683278

Browse files
committed
enhance(client): renoteした際の表示を改善
Resolve #10078
1 parent 5bea4fe commit a683278

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ You should also include the user name that made the change.
1212
## 13.x.x (unreleased)
1313

1414
### Improvements
15+
- renoteした際の表示を改善
1516

1617
### Bugfixes
1718
- Windows環境でswcを使うと正しくビルドできない問題の修正

packages/frontend/src/components/MkNote.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function renote(viaKeyboard = false) {
255255
text: i18n.ts.inChannelRenote,
256256
icon: 'ti ti-repeat',
257257
action: () => {
258-
os.api('notes/create', {
258+
os.apiWithDialog('notes/create', {
259259
renoteId: appearNote.id,
260260
channelId: appearNote.channelId,
261261
});
@@ -276,7 +276,7 @@ function renote(viaKeyboard = false) {
276276
text: i18n.ts.renote,
277277
icon: 'ti ti-repeat',
278278
action: () => {
279-
os.api('notes/create', {
279+
os.apiWithDialog('notes/create', {
280280
renoteId: appearNote.id,
281281
});
282282
},

packages/frontend/src/components/MkNoteDetailed.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function renote(viaKeyboard = false) {
250250
text: i18n.ts.inChannelRenote,
251251
icon: 'ti ti-repeat',
252252
action: () => {
253-
os.api('notes/create', {
253+
os.apiWithDialog('notes/create', {
254254
renoteId: appearNote.id,
255255
channelId: appearNote.channelId,
256256
});
@@ -271,7 +271,7 @@ function renote(viaKeyboard = false) {
271271
text: i18n.ts.renote,
272272
icon: 'ti ti-repeat',
273273
action: () => {
274-
os.api('notes/create', {
274+
os.apiWithDialog('notes/create', {
275275
renoteId: appearNote.id,
276276
});
277277
},

0 commit comments

Comments
 (0)