mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
feat: sidebar on launch option #182
This commit is contained in:
parent
e08a4456ee
commit
fca51c536f
4 changed files with 16 additions and 0 deletions
|
@ -72,6 +72,7 @@ export default {
|
|||
},
|
||||
created() {
|
||||
this.$vuetify.theme.dark = this.getTheme()
|
||||
this.drawer = this.webuiSettings.openSideBarOnStart && this.$vuetify.breakpoint.mdAndUp
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -101,6 +101,19 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item>
|
||||
<v-list-item>
|
||||
<v-row dense>
|
||||
<v-col>
|
||||
<v-switch
|
||||
v-model="webuiSettings.openSideBarOnStart"
|
||||
class="v-input--reverse pa-0 ma-0"
|
||||
hide-details
|
||||
inset
|
||||
:label="$t('modals.settings.pageVueTorrent.pageGeneral.openSideBarOnStart')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item>
|
||||
<v-list-item>
|
||||
<v-row dense>
|
||||
<v-col cols="8" sm="8" md="10">
|
||||
|
|
|
@ -146,6 +146,7 @@ const locale = {
|
|||
paginationSize: 'Pagination size:',
|
||||
vueTorrentTitle: 'VueTorrent title:',
|
||||
dateFormat: 'Date Format',
|
||||
openSideBarOnStart: 'Open Side Bar on launch',
|
||||
currentVersion: 'Current Version:',
|
||||
qbittorrentVersion: 'QBittorrent Version:'
|
||||
},
|
||||
|
|
|
@ -69,6 +69,7 @@ export default new Vuex.Store({
|
|||
topPagination: false,
|
||||
paginationSize: 15,
|
||||
dateFormat: 'DD/MM/YYYY, HH:mm:ss',
|
||||
openSideBarOnStart: true,
|
||||
busyTorrentProperties: [
|
||||
{ name: 'Size', active: true },
|
||||
{ name: 'Progress', active: true },
|
||||
|
|
Loading…
Add table
Reference in a new issue