Skip to content

Commit fe9a893

Browse files
committed
fix(LocalStorage/WebStorage): Plugin object methods when storage not available (name of methods were obsolete)
1 parent fbb62ff commit fe9a893

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ui/src/utils/web-storage.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,10 @@ export function getEmptyStorage () {
7070

7171
return {
7272
has: fn,
73-
get: {
74-
length: fn,
75-
item: fn,
76-
index: fn,
77-
all: fn
78-
},
73+
getLength: fn,
74+
getItem: fn,
75+
getIndex: fn,
76+
getAll: fn,
7977
set: fn,
8078
remove: fn,
8179
clear: fn,

0 commit comments

Comments
 (0)