Skip to content

Commit e380692

Browse files
committed
[bug] fix link name null value
1 parent 6d581dd commit e380692

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/js/update.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,18 @@ var update = (function(){
968968
returndata;
969969
},
970970
"5.37.1": function(data){
971+
data.bookmarks.forEach(function(arrayItem,index){
972+
arrayItem.items.forEach(function(arrayItem,index){
973+
if(arrayItem.name==null){
974+
arrayItem.name="";
975+
};
976+
for(varkeyinarrayItem.accent.color){
977+
if(arrayItem.accent.color[key]==null){
978+
arrayItem.accent.color[key]=0;
979+
};
980+
};
981+
});
982+
});
971983
data.bookmarks.forEach(function(arrayItem,index){
972984
arrayItem.items.forEach(function(arrayItem,index){
973985
arrayItem.accent.color.rgb={

0 commit comments

Comments
(0)