Skip to content

Commit 4792dbc

Browse files
committed
Small fix for handling null data when tags load.
1 parent 6913ebd commit 4792dbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/net/TagsModel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ SOFTWARE.
5656
};
5757

5858
s.handleTagsLoad = function (data) {
59+
data = data || [];
5960
var cleanData = [];
6061
for (var i=0;i<data.length;i++) {
6162
if (s.existing[data[i].name.toLocaleLowerCase()]) {

0 commit comments

Comments
 (0)