Fixed enum value in js for privacy toggle.