fix make public/private button
Merge pull request #1114 from jay-hodgson/SWC-1621

SWC-1621: fix make public/private button