mirror of
https://github.com/bitwarden/browser
synced 2026-02-04 02:33:33 +00:00
Rename SdkCipherOperations feature flag
This commit is contained in:
@@ -66,8 +66,8 @@ export enum FeatureFlag {
|
||||
RiskInsightsForPremium = "pm-23904-risk-insights-for-premium",
|
||||
VaultLoadingSkeletons = "pm-25081-vault-skeleton-loaders",
|
||||
BrowserPremiumSpotlight = "pm-23384-browser-premium-spotlight",
|
||||
SdkCipherOperations = "use-sdk-cipher-operations", // TODO: Create & use a real feature flag.
|
||||
MigrateMyVaultToMyItems = "pm-20558-migrate-myvault-to-myitems",
|
||||
PM27632_SdkCipherCrudOperations = "pm-27632-cipher-crud-operations-to-sdk",
|
||||
|
||||
/* Platform */
|
||||
IpcChannelFramework = "ipc-channel-framework",
|
||||
|
||||
@@ -893,7 +893,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
orgAdmin?: boolean,
|
||||
): Promise<CipherView> {
|
||||
const sdkCipherEncryptionEnabled = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.SdkCipherOperations,
|
||||
FeatureFlag.PM27632_SdkCipherCrudOperations,
|
||||
);
|
||||
|
||||
if (sdkCipherEncryptionEnabled) {
|
||||
@@ -965,7 +965,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
): Promise<CipherView> {
|
||||
// const sdkCipherEncryptionEnabled = false;
|
||||
const sdkCipherEncryptionEnabled = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.SdkCipherOperations,
|
||||
FeatureFlag.PM27632_SdkCipherCrudOperations,
|
||||
);
|
||||
|
||||
if (sdkCipherEncryptionEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user