Skip to content

Commit

Permalink
perf(TRC): display "set priority" visibility when queuing is enabled …
Browse files Browse the repository at this point in the history
…only (#976)
  • Loading branch information
Larsluph authored Jul 18, 2023
1 parent 4445d37 commit f2cd9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Torrent/TorrentRightClickMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</v-list-item>
</v-list>
</v-menu>
<v-menu :open-on-hover="!touchmode" top offset-x :transition="isRightside ? 'slide-x-reverse-transition' : 'slide-x-transition'" :left="isRightside">
<v-menu v-if="settings.queueing_enabled" :open-on-hover="!touchmode" top offset-x :transition="isRightside ? 'slide-x-reverse-transition' : 'slide-x-transition'" :left="isRightside">
<template #activator="{ on }">
<v-list-item link v-on="on">
<v-icon>{{ mdiPriorityHigh }}</v-icon>
Expand Down Expand Up @@ -349,7 +349,7 @@ export default {
},
computed: {
...mapGetters(['getCategories', 'getAvailableTags', 'getTorrent']),
...mapState(['selected_torrents']),
...mapState(['selected_torrents', 'settings']),
availableCategories() {
const categories = [{ name: 'None', value: '' }]
categories.push(
Expand Down

0 comments on commit f2cd9e1

Please sign in to comment.