Dev/brih/task/assessment select first error (#15888)

* refactor assessment result display, auto-select 1st item

* add async support using setDataValues in declarativeTable

* address review feedback
This commit is contained in:
brian-harris
2021-06-24 08:41:05 -07:00
committed by GitHub
parent f7a723d98d
commit e639a94dda
2 changed files with 41 additions and 85 deletions

View File

@@ -434,11 +434,11 @@ export const ISSUES_DETAILS = localize('sql.migration.issues.details', "Issue De
export const SELECT_DB_PROMPT = localize('sql.migration.select.prompt', "Click on SQL Server Instance or any of the databases on the left to view its details.");
export const NO_ISSUES_FOUND_VM = localize('sql.migration.no.issues.vm', "No issues found for migrating to SQL Server on Azure Virtual Machine");
export const NO_ISSUES_FOUND_MI = localize('sql.migration.no.issues.mi', "No issues found for migrating to SQL Server on Azure SQL Managed Instance");
export function IMPACT_OBJECT_TYPE(objectType: string): string {
return localize('sql.migration.impact.object.type', "Type: {0}", objectType);
export function IMPACT_OBJECT_TYPE(objectType?: string): string {
return objectType ? localize('sql.migration.impact.object.type', "Type: {0}", objectType) : '';
}
export function IMPACT_OBJECT_NAME(objectName: string): string {
return localize('sql.migration.impact.object.name', "Name: {0}", objectName);
export function IMPACT_OBJECT_NAME(objectName?: string): string {
return objectName ? localize('sql.migration.impact.object.name', "Name: {0}", objectName) : '';
}
export function DATABASES(selectedCount: number, totalCount: number): string {
return localize('sql.migration.databases', "Databases ({0}/{1})", selectedCount, totalCount);