Remove Old Add Database Pane Code (#784)

Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
Hardikkumar Nai
2021-05-14 22:35:00 +05:30
committed by GitHub
parent f9e8b5eaaa
commit a52a156005
15 changed files with 12 additions and 1080 deletions

View File

@@ -17,6 +17,7 @@ import { AuthType } from "../../AuthType";
import * as Constants from "../../Common/Constants";
import * as ViewModels from "../../Contracts/ViewModels";
import { userContext } from "../../UserContext";
import { getDatabaseName } from "../../Utils/APITypeUtils";
import { FeaturePanelLauncher } from "../Controls/FeaturePanel/FeaturePanelLauncher";
import { DataSamplesUtil } from "../DataSamples/DataSamplesUtil";
import Explorer from "../Explorer";
@@ -290,7 +291,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
} else {
items.push({
iconSrc: AddDatabaseIcon,
title: this.container.addDatabaseText(),
title: "New " + getDatabaseName(),
description: null,
onClick: () => this.container.openAddDatabasePane(),
});