mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 07:56:57 +01:00
feat(webui): add menu option to analyze book from browsing view
working towards #51
This commit is contained in:
parent
8e81356908
commit
64f542d42f
1 changed files with 22 additions and 0 deletions
|
|
@ -11,6 +11,23 @@
|
|||
>
|
||||
<v-icon>mdi-arrow-left</v-icon>
|
||||
</v-btn>
|
||||
|
||||
<v-spacer/>
|
||||
|
||||
<v-toolbar-items>
|
||||
<v-menu offset-y>
|
||||
<template v-slot:activator="{ on }">
|
||||
<v-btn icon v-on="on">
|
||||
<v-icon>mdi-dots-vertical</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-list>
|
||||
<v-list-item @click="analyze()">
|
||||
<v-list-item-title>Analyze</v-list-item-title>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
</v-toolbar-items>
|
||||
</v-toolbar>
|
||||
|
||||
<v-container fluid class="pa-6">
|
||||
|
|
@ -134,6 +151,11 @@ export default Vue.extend({
|
|||
return { 'top': '64px' }
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
analyze () {
|
||||
this.$komgaBooks.analyzeBook(this.book)
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue