perf: add sort none option #128

This commit is contained in:
WDaan 2022-11-16 10:23:46 +01:00
parent b557db48e8
commit bf406e5cfd
3 changed files with 3 additions and 1 deletions

View file

@ -368,6 +368,7 @@ const locale = {
title: 'Sort Torrents',
reverse: 'Reverse',
sortBy: {
none: 'None',
availability: 'Availability',
category: 'Category',
completed: 'Completed',

View file

@ -44,7 +44,7 @@ export default new Vuex.Store({
selected_torrents: [],
authenticated: false,
sort_options: {
sort: null,
sort: 'priority',
reverse: true,
hashes: [],
filter: null

View file

@ -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') },