We will be off on April 7th (Monday) for public holiday in our country

Commit c5d0d785 authored by attilak's avatar attilak

use hasOwnProperty for checking property in json in javascript

parent 7533e396
......@@ -193,7 +193,7 @@ define(
}
};
result.isIssuerListAvailable = function () {
if (typeof value.issuers !== 'undefined' && value.issuers.length > 0) {
if (value.hasOwnProperty("issuers") && value.issuers.length > 0) {
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment