mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-10 07:19:38 +01:00
[bug] fix link name null value
This commit is contained in:
parent
6d581ddde7
commit
e3806921f5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user