1
0
Fork 0
mirror of https://github.com/VueTorrent/VueTorrent.git synced 2025-05-05 14:55:09 +03:00

Optional global remove/resume/pause torrent buttons

This commit is contained in:
Daan 2020-09-15 09:28:43 +02:00
parent 47e3026f3e
commit 8cf3a50430
4 changed files with 46 additions and 5 deletions
src/components/Modals/SettingsModal/Tabs

View file

@ -41,6 +41,16 @@
>
<template #label> Show Free Space </template>
</v-switch>
<v-switch
class="v-input--reverse v-input--expand pa-0 ma-0"
inset
v-model="showGlobalRemoveResumePause"
color="green_accent"
>
<template #label>
Global Remove/Resume/Pause Buttons</template
>
</v-switch>
<v-row dense>
<v-col cols="10" sm="10" md="11">
<p class="subtitle-1">Current Version:</p>
@ -96,6 +106,14 @@ export default {
this.webuiSettings.showSessionStat = val
}
},
showGlobalRemoveResumePause: {
get() {
return this.webuiSettings.showGlobalRemoveResumePause
},
set(val) {
this.webuiSettings.showGlobalRemoveResumePause = val
}
},
version() {
return this.getAppVersion()
}