From 3cf43de54ce121f6a60ba33e6b338336e32aef9c Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Wed, 2 Sep 2020 09:23:16 +0200 Subject: [PATCH] Remember state of SortModal properties --- src/components/modals/SortModal.svelte | 19 ++++++++++++++----- src/components/modals/sortModalState.js | 1 + src/components/treemode/TreeMode.svelte | 4 +++- src/logic/sort.js | 7 +------ src/utils/uniqueId.js | 7 +++++++ 5 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 src/components/modals/sortModalState.js create mode 100644 src/utils/uniqueId.js diff --git a/src/components/modals/SortModal.svelte b/src/components/modals/SortModal.svelte index 9b9f797..1c08fc9 100644 --- a/src/components/modals/SortModal.svelte +++ b/src/components/modals/SortModal.svelte @@ -1,19 +1,23 @@