fix: export public flag, fix button (#3098)

This commit is contained in:
Wyatt Johnson
2020-08-11 21:49:32 +00:00
committed by GitHub
parent fc6de50dde
commit 3398bd12c4
15 changed files with 26 additions and 34 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ const FEATURE_FLAGS = Object.values(GQLFEATURE_FLAG);
* PUBLIC_FEATURE_FLAGS are flags that are allowed to be returned when accessed
* by a user with non-staff permissions.
*/
const PUBLIC_FEATURE_FLAGS = [GQLFEATURE_FLAG.DISCUSSIONS];
const PUBLIC_FEATURE_FLAGS = [
GQLFEATURE_FLAG.DISCUSSIONS,
GQLFEATURE_FLAG.READ_MORE_NEW_TAB,
];
type FlagFilter = (flag: GQLFEATURE_FLAG | string) => boolean;