You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gate the Private Notes UI entry points in ReportDetailsPage and
ProfilePage behind isBetaEnabled(CONST.BETAS.PRIVATE_NOTES) instead
of removing the feature code entirely. Also skip the
getReportPrivateNote API fetch when the beta is disabled.
Since no backend sets this beta on any account, Private Notes is
effectively hidden for all users. The backend should also add
'privateNotes' to the explicitOnly beta configuration so that
BETAS.ALL does not enable it.
Co-authored-by: Cong Pham <suneox@users.noreply.github.com>
// Do not fetch private notes if the beta is disabled, isLoadingPrivateNotes is already defined, the network is offline, or if the report is a self DM.
0 commit comments