mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 13:08:53 +03:00
perf: add reset settings button #326
This commit is contained in:
parent
e242bad1af
commit
0ada50ba4a
2 changed files with 9 additions and 1 deletions
|
@ -207,6 +207,9 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item>
|
||||
<v-list-item class="justify-center pb-2">
|
||||
<v-btn @click="resetSettings"> {{ $t('modals.settings.pageVueTorrent.pageGeneral.resetSettings') }} </v-btn>
|
||||
</v-list-item>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
|
@ -238,6 +241,10 @@ export default {
|
|||
methods: {
|
||||
async fetchQbitVersion() {
|
||||
this.Qbitversion = await Qbit.getAppVersion()
|
||||
},
|
||||
resetSettings() {
|
||||
window.localStorage.clear()
|
||||
location.reload()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -167,7 +167,8 @@ const locale = {
|
|||
dateFormat: 'Date Format',
|
||||
openSideBarOnStart: 'Open Side Bar on launch',
|
||||
currentVersion: 'Current Version:',
|
||||
qbittorrentVersion: 'QBittorrent Version:'
|
||||
qbittorrentVersion: 'QBittorrent Version:',
|
||||
resetSettings: 'Reset Settings'
|
||||
},
|
||||
pageDashboard: {
|
||||
busyTorrentTip: 'Properties to display for busy torrents',
|
||||
|
|
Loading…
Reference in a new issue