//converts the value to a js bool
function toBool(v) {
if (Utilities.isNumber(v)) {
return v > 0
}
if (Utilities.isString(v)) {
return v === "true"
}
if (typeof v === "boolean") {
return v
}
return false;
}
With
//converts the value to a js bool
function toBool(v) {
if (typeof v === "number") {
return v > 0
}
if (typeof v === "string") {
return v === "true"
}
if (typeof v === "boolean") {
return v
}
return false;
}
MemberListView 2.0.2 not working in my Umbraco v8.6.3
I installed the latest package, but get nothing, the manage members tab just sits there with the loading dots (I only have 6 members in the system.
Is it maybe because I have a custom member Type?
Any help appreciated
Hi, Can you post any error messages from the JavaScript console, and check the Error Log in Umbraco as well...
I will, check later and post any errors
I get the following javascript error
I'm not getting anything show up in the umbraco log
Got it working by replacing this
With
Hey,
Yep, just did the same myself and committed it to the source. The Utilities javascript library only came into existence in 8.7-rc, sorry about that!.
I've released new versions to resolve the issue.
No problem. all working fine now.
is working on a reply...