Skip to content

Commit

Permalink
[Gitar] Updating TypeScript files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitar committed Aug 19, 2024
1 parent 662c7ab commit 70078f1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions frontend/src/component/admin/adminRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ export const adminRoutes: INavigationMenuItem[] = [
menu: { adminSettings: true },
group: 'instance',
},
{
path: '/admin/license',
title: 'License',
menu: { adminSettings: true, mode: ['enterprise'] },
flag: 'enableLicense',
group: 'instance',
},
{
path: '/admin/instance-privacy',
title: 'Instance privacy',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/interfaces/uiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export type UiFlags = {
automatedActions?: boolean;
celebrateUnleash?: boolean;
featureSearchFeedback?: Variant;
enableLicense?: boolean;
adminTokenKillSwitch?: boolean;
killInsightsUI?: boolean;
feedbackComments?: Variant;
Expand Down
1 change: 0 additions & 1 deletion src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ exports[`should create default config 1`] = `
"embedProxy": true,
"embedProxyFrontend": true,
"enableLegacyVariants": false,
"enableLicense": false,
"enableLicenseChecker": false,
"encryptEmails": false,
"estimateTrafficDataCost": false,
Expand Down
2 changes: 0 additions & 2 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export type IFlagKey =
| 'accessLogs'
| 'anonymiseEventLog'
| 'encryptEmails'
| 'enableLicense'
| 'enableLicenseChecker'
| 'embedProxy'
| 'embedProxyFrontend'
Expand Down Expand Up @@ -73,7 +72,6 @@ export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;

const flags: IFlags = {
anonymiseEventLog: false,
enableLicense: false,
enableLicenseChecker: false,
embedProxy: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY,
Expand Down

0 comments on commit 70078f1

Please sign in to comment.