From 6b5d72da72a5ddd9e2091f81d6c45f557cddc127 Mon Sep 17 00:00:00 2001 From: Stefan Genov Date: Thu, 9 Dec 2021 09:01:06 +0200 Subject: [PATCH] [alphabetical-sort] Added one todo --- src/components/list/partials/filters.vue | 1 + vite.config.js | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 47fa6f30d..b5b2691a8 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -497,6 +497,7 @@ export default { } this.change() }, + // @TODO - Improve logic to work for all sorts ideally. setSortAlphabetically() { if ( ! this.sortAlphabetically) { this.params.sort_by = getDefaultParams().sort_by diff --git a/vite.config.js b/vite.config.js index beb42c7ac..1d44bbeb4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -125,9 +125,6 @@ export default defineConfig({ extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'], }, server: { - watch: { - usePolling: true, - }, port: 5000, strictPort: true, },