mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-30 05:20:55 +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',
|
title: 'Sort Torrents',
|
||||||
reverse: 'Reverse',
|
reverse: 'Reverse',
|
||||||
sortBy: {
|
sortBy: {
|
||||||
|
none: 'None',
|
||||||
availability: 'Availability',
|
availability: 'Availability',
|
||||||
category: 'Category',
|
category: 'Category',
|
||||||
completed: 'Completed',
|
completed: 'Completed',
|
||||||
|
|
|
@ -44,7 +44,7 @@ export default new Vuex.Store({
|
||||||
selected_torrents: [],
|
selected_torrents: [],
|
||||||
authenticated: false,
|
authenticated: false,
|
||||||
sort_options: {
|
sort_options: {
|
||||||
sort: null,
|
sort: 'priority',
|
||||||
reverse: true,
|
reverse: true,
|
||||||
hashes: [],
|
hashes: [],
|
||||||
filter: null
|
filter: null
|
||||||
|
|
|
@ -173,6 +173,7 @@ export default {
|
||||||
searchFilterEnabled: false,
|
searchFilterEnabled: false,
|
||||||
sortEnabled: false,
|
sortEnabled: false,
|
||||||
sortOptions: [
|
sortOptions: [
|
||||||
|
{ value: '', text: this.$i18n.t('modals.sort.sortBy.none') },
|
||||||
{ value: 'added_on', text: this.$i18n.t('modals.sort.sortBy.addedOn') },
|
{ value: 'added_on', text: this.$i18n.t('modals.sort.sortBy.addedOn') },
|
||||||
{ value: 'availability', text: this.$i18n.t('modals.sort.sortBy.availability') },
|
{ value: 'availability', text: this.$i18n.t('modals.sort.sortBy.availability') },
|
||||||
{ value: 'category', text: this.$i18n.t('modals.sort.sortBy.category') },
|
{ value: 'category', text: this.$i18n.t('modals.sort.sortBy.category') },
|
||||||
|
|
Loading…
Add table
Reference in a new issue