Alternating uuid logic and tests

This commit is contained in:
Mo Bitar
2018-07-02 11:11:56 -05:00
parent 7625e037fe
commit 82b1586fd7
4 changed files with 73 additions and 16 deletions

View File

@@ -53,7 +53,7 @@ export default class LocalStorageManager extends SFStorageManager {
// clear only models
for(var key in localStorage) {
if(key.startsWith("item-")) {
this.removeItem(`item-${item.uuid}`);
this.removeItem(key);
}
}
}