[bug] fix link name null value

This commit is contained in:
zombieFox 2020-06-11 19:28:11 +01:00
parent 6d581ddde7
commit e3806921f5

View File

@ -968,6 +968,18 @@ var update = (function() {
return data;
},
"5.37.1": function(data) {
data.bookmarks.forEach(function(arrayItem, index) {
arrayItem.items.forEach(function(arrayItem, index) {
if (arrayItem.name == null) {
arrayItem.name = "";
};
for (var key in arrayItem.accent.color) {
if (arrayItem.accent.color[key] == null) {
arrayItem.accent.color[key] = 0;
};
};
});
});
data.bookmarks.forEach(function(arrayItem, index) {
arrayItem.items.forEach(function(arrayItem, index) {
arrayItem.accent.color.rgb = {