mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Add convertToNative to cache key.
This commit is contained in:
@@ -36,7 +36,7 @@ export default () => ({
|
|||||||
const start = new Date(window.store.get('start'));
|
const start = new Date(window.store.get('start'));
|
||||||
const end = new Date(window.store.get('end'));
|
const end = new Date(window.store.get('end'));
|
||||||
// needs user data.
|
// needs user data.
|
||||||
const cacheKey = getCacheKey(PIGGY_CACHE_KEY, {start: start, end: end});
|
const cacheKey = getCacheKey(PIGGY_CACHE_KEY, {convertToNative: this.convertToNative, start: start, end: end});
|
||||||
|
|
||||||
const cacheValid = window.store.get('cacheValid');
|
const cacheValid = window.store.get('cacheValid');
|
||||||
let cachedData = window.store.get(cacheKey);
|
let cachedData = window.store.get(cacheKey);
|
||||||
|
Reference in New Issue
Block a user