Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3525585
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
921 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/native/cpp/CommonCpp/Tools/StaffUtils.cpp b/native/cpp/CommonCpp/Tools/StaffUtils.cpp
index c63085867..62785ebe9 100644
--- a/native/cpp/CommonCpp/Tools/StaffUtils.cpp
+++ b/native/cpp/CommonCpp/Tools/StaffUtils.cpp
@@ -1,7 +1,7 @@
#include "StaffUtils.h"
namespace comm {
bool StaffUtils::isStaffRelease() {
- return false;
+ return true;
}
} // namespace comm
diff --git a/native/utils/staff-utils.js b/native/utils/staff-utils.js
index c76228090..3464e9217 100644
--- a/native/utils/staff-utils.js
+++ b/native/utils/staff-utils.js
@@ -1,12 +1,12 @@
// @flow
import { useIsCurrentUserStaff } from 'lib/shared/staff-utils.js';
-const isStaffRelease = false;
+const isStaffRelease = true;
function useStaffCanSee(): boolean {
const isCurrentUserStaff = useIsCurrentUserStaff();
return __DEV__ || isStaffRelease || isCurrentUserStaff;
}
export { isStaffRelease, useStaffCanSee };
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Dec 25, 5:42 PM (6 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2653811
Default Alt Text
(921 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment