mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Auto-refresh OE with table designer (#23370)
This commit is contained in:
@@ -53,7 +53,7 @@ export function RefreshObjectExplorerError(error: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.refreshOEError',
|
||||
comment: ['{0}: error message.']
|
||||
}, "An error occurred while while refreshing the object explorer. {0}", error);
|
||||
}, "An error occurred while refreshing the object explorer. {0}", error);
|
||||
}
|
||||
|
||||
export function DeleteObjectConfirmationText(objectType: string, objectName: string): string {
|
||||
|
||||
@@ -38,7 +38,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
|
||||
connectionString: connectionString,
|
||||
accessToken: context.connectionProfile!.options.azureAccountToken,
|
||||
tableIcon: tableIcon
|
||||
}, telemetryInfo);
|
||||
}, telemetryInfo, context);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
await vscode.window.showErrorMessage(getErrorMessage(error), { modal: true });
|
||||
@@ -70,7 +70,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
|
||||
connectionString: connectionString,
|
||||
accessToken: context.connectionProfile!.options.azureAccountToken,
|
||||
tableIcon: tableIcon
|
||||
}, telemetryInfo);
|
||||
}, telemetryInfo, context);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
await vscode.window.showErrorMessage(getErrorMessage(error), { modal: true });
|
||||
|
||||
Reference in New Issue
Block a user