Another rule compiler fix.
This commit is contained in:
parent
b959148447
commit
3f4f7145a3
3 changed files with 8 additions and 5 deletions
|
@ -26,9 +26,10 @@ if (err) {
|
|||
let tagsArray = [];
|
||||
for(let n in tags) {
|
||||
let t = tags[n];
|
||||
let dfl = t['default'];
|
||||
tagsArray.push({
|
||||
'id': t.id,
|
||||
'default': t['default']||null
|
||||
'default': (((dfl)||(dfl === 0)) ? dfl : null)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue