Testing the onContextMenu event.
This commit is contained in:
1 parent
8906bed1e7
commit
c731c6a7e6
2 files changed
+16
-1
No files matched your search
@@ -49,6 +49,13 @@ const cache = {
|
||||
k.delete(key);
|
||||
return value;
|
||||
},
|
||||
map: (params: any) => {
|
||||
const { cacheId } = params;
|
||||
if (!_allCaches.has(cacheId)) {
|
||||
return null;
|
||||
}
|
||||
return _allCaches.get(cacheId);
|
||||
},
|
||||
};
|
||||
|
||||
export default cache;
|
||||
Reference in new issue
Block a user