Closed bowserm closed 1 year ago
I have created a github issue for this PR. Hopefully that helps give a little context, but I've mostly repeated the same things I stated in the first comment of this PR.
Awesome, thanks @bowserm
I'll get onto this soon as I can.
The problem we were experiencing is that the "Wide" and "Admin Only" prevalue settings were always coming back as true. Our sites were stuck in "Admin Only Settings" mode. I found that the
adminOnly
andwide
"boolean" prevalues were coming back with values of"1"
and"0"
."0"
is a truthy value. I adjusted the logic so that we are comparing them to true which works better.