diff options
author | Eloy Robillard <eloy.robillard@gmail.com> | 2024-02-15 04:02:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 03:02:36 +0000 |
commit | 7a4096240ce4faf70a785d047945388baa0daab3 (patch) | |
tree | 841da38533391a095fdb932c528c4b5c3366ba1b /ext/js/pages/settings/anki-controller.js | |
parent | 043ac79203abbc9c7f3aa971e2de8ddedb3c0e90 (diff) |
Show all duplicate notes on click (#636)
* Show all duplicate notes on click
* Change 'notesView' to 'viewNotes'
* Replace api.noteView with api.viewNotes
* Update "viewNote" action to "viewNotes" in options util
* Update options-util test with "viewNotes" action
* Replace uses of "viewNote" with "viewNotes"
* Replace _viewNote with _viewNotes
* Rename /*ViewNote*/ methods to /*ViewNotes*/
Diffstat (limited to 'ext/js/pages/settings/anki-controller.js')
-rw-r--r-- | ext/js/pages/settings/anki-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js index a2948eda..3a6345ed 100644 --- a/ext/js/pages/settings/anki-controller.js +++ b/ext/js/pages/settings/anki-controller.js @@ -455,7 +455,7 @@ export class AnkiController { throw new Error('Could not find a note to test with'); } - await this._settingsController.application.api.noteView(noteId, mode, false); + await this._settingsController.application.api.viewNotes([noteId], mode, false); } /** |