update
This commit is contained in:
1 parent
ffbe5fed18
commit
b32007acd1
6 files changed
+939
-55
No files matched your search
@@ -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,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user