removed unnecessary changes

This commit is contained in:
Srinath Narayanan 2021-01-04 18:34:24 -08:00
parent 8333ee7ec4
commit 373327dc88
2 changed files with 1 additions and 5 deletions

View File

@ -899,7 +899,6 @@ export class SettingsComponent extends React.Component<SettingsComponentProps, S
};
const tabs: SettingsV2TabInfo[] = [];
if (!hasDatabaseSharedThroughput(this.collection) && this.collection.offer()) {
tabs.push({
tab: SettingsV2TabTypes.ScaleTab,

View File

@ -44,8 +44,7 @@ export enum SettingsV2TabTypes {
ScaleTab,
ConflictResolutionTab,
SubSettingsTab,
IndexingPolicyTab,
SelfServe
IndexingPolicyTab
}
export interface IsComponentDirtyResult {
@ -147,8 +146,6 @@ export const getTabTitle = (tab: SettingsV2TabTypes): string => {
return "Settings";
case SettingsV2TabTypes.IndexingPolicyTab:
return "Indexing Policy";
case SettingsV2TabTypes.SelfServe:
return "SelfServe";
default:
throw new Error(`Unknown tab ${tab}`);
}