turn cross team search ff into a config value (#8694)
This commit is contained in:
parent
427d61efd4
commit
97210af090
3 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ const enhance = withObservables([], ({database}: WithDatabaseArgs) => {
|
|||
return {
|
||||
teamId: currentTeamId,
|
||||
teams: observeSortedJoinedTeams(database),
|
||||
crossTeamSearchEnabled: observeConfigBooleanValue(database, 'FeatureFlagExperimentalCrossTeamSearch'),
|
||||
crossTeamSearchEnabled: observeConfigBooleanValue(database, 'EnableCrossTeamSearch'),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const enhance = withObservables(['teamId'], ({database, teamId}: EnhanceProps) =
|
|||
switchMap((t) => of$(t?.displayName || '')),
|
||||
distinctUntilChanged(),
|
||||
),
|
||||
crossTeamSearchEnabled: observeConfigBooleanValue(database, 'FeatureFlagExperimentalCrossTeamSearch'),
|
||||
crossTeamSearchEnabled: observeConfigBooleanValue(database, 'EnableCrossTeamSearch'),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
2
types/api/config.d.ts
vendored
2
types/api/config.d.ts
vendored
|
|
@ -51,6 +51,7 @@ interface ClientConfig {
|
|||
EnableCommands: string;
|
||||
EnableCompliance: string;
|
||||
EnableConfirmNotificationsToChannel: string;
|
||||
EnableCrossTeamSearch: 'true' | 'false';
|
||||
EnableCustomBrand: string;
|
||||
EnableCustomEmoji: string;
|
||||
EnableCustomTermsOfService: string;
|
||||
|
|
@ -121,7 +122,6 @@ interface ClientConfig {
|
|||
FeatureFlagCollapsedThreads?: string;
|
||||
FeatureFlagPostPriority?: string;
|
||||
FeatureFlagChannelBookmarks?: string;
|
||||
FeatureFlagExperimentalCrossTeamSearch?: string;
|
||||
FeatureFlagCustomProfileAttributes?: string;
|
||||
ForgotPasswordLink?: string;
|
||||
GfycatApiKey: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue