mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 21:18:54 +03:00
perf: add sort none option #128
This commit is contained in:
parent
b557db48e8
commit
bf406e5cfd
3 changed files with 3 additions and 1 deletions
|
@ -368,6 +368,7 @@ const locale = {
|
|||
title: 'Sort Torrents',
|
||||
reverse: 'Reverse',
|
||||
sortBy: {
|
||||
none: 'None',
|
||||
availability: 'Availability',
|
||||
category: 'Category',
|
||||
completed: 'Completed',
|
||||
|
|
|
@ -44,7 +44,7 @@ export default new Vuex.Store({
|
|||
selected_torrents: [],
|
||||
authenticated: false,
|
||||
sort_options: {
|
||||
sort: null,
|
||||
sort: 'priority',
|
||||
reverse: true,
|
||||
hashes: [],
|
||||
filter: null
|
||||
|
|
|
@ -173,6 +173,7 @@ export default {
|
|||
searchFilterEnabled: false,
|
||||
sortEnabled: false,
|
||||
sortOptions: [
|
||||
{ value: '', text: this.$i18n.t('modals.sort.sortBy.none') },
|
||||
{ value: 'added_on', text: this.$i18n.t('modals.sort.sortBy.addedOn') },
|
||||
{ value: 'availability', text: this.$i18n.t('modals.sort.sortBy.availability') },
|
||||
{ value: 'category', text: this.$i18n.t('modals.sort.sortBy.category') },
|
||||
|
|
Loading…
Reference in a new issue