This commit is contained in:
polv committed 2021-10-25 06:46:53 +07:00
1 parent ffbe5fed18
commit b32007acd1
6 files changed
+939 -55

No files matched your search

+2 -3
View File
@@ -50,7 +50,7 @@
</li>
<li v-if="entry">
<a role="button" @click="openInNewTab('Character', { q: entry })">
{{ type === 'character' ? 'Show details' : 'Search for Hanzi' }}
{{ type === 'character' ? 'Show details' : 'Search for Kanji' }}
</a>
</li>
<li v-if="entry && type !== 'character'">
@@ -135,9 +135,8 @@ export default class ContextMenu extends Vue {
async setQuiz() {
if (this.entries.length && this.type) {
const { result } = await api.quiz_getMany({
const { result } = await api.quiz_getManyByEntries({
entries: this.entries,
select: ['id', 'entry'],
type: this.type,
direction: this.direction,
})