mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
core: add new collection for shortcuts
This commit is contained in:
@@ -70,6 +70,10 @@ export default class CachedCollection extends IndexedCollection {
|
||||
return this.map.has(id);
|
||||
}
|
||||
|
||||
count() {
|
||||
return this.map.size;
|
||||
}
|
||||
|
||||
getItem(id) {
|
||||
return this.map.get(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user