Fix bug when user ticks the go private option but then cancel from the alert. Currently the box gets ticked even though the go private state did not change. Here I made the revert function accessible for the whole file and used it for fixing the issue.
Fix bug when user ticks the go private option but then cancel from the alert. Currently the box gets ticked even though the go private state did not change. Here I made the
revert
function accessible for the whole file and used it for fixing the issue.