diff options
| author | Kit La Touche <kit@transneptune.net> | 2025-02-17 12:50:33 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2025-02-20 21:53:25 -0500 |
| commit | 098be35aade77e505d692558cfb554485b8563db (patch) | |
| tree | 82cfdfd8ea42cba8e7e3b426ee04790719101830 /ui/lib | |
| parent | daaf37a1ed3760f03fceb1123ebe80de3a2f280c (diff) | |
Remember last active channel and navigate there on root load
To facilitate PWA behaviour.
Diffstat (limited to 'ui/lib')
| -rw-r--r-- | ui/lib/constants.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/lib/constants.js b/ui/lib/constants.js index c001f6d..5456414 100644 --- a/ui/lib/constants.js +++ b/ui/lib/constants.js @@ -1,2 +1,4 @@ -export const STORE_KEY_CHANNELS_DATA = 'pilcrow:channelsData'; export const EPOCH_STRING = '1970-01-01T00:00:00Z'; + +export const STORE_KEY_CHANNELS_DATA = 'pilcrow:channelsData'; +export const STORE_KEY_LAST_ACTIVE = 'pilcrow:lastActiveChannel'; |
