table component improvement (#13801)

* hyperlink column

* fixed width for image only button - old behavior
This commit is contained in:
Alan Ren
2020-12-14 20:28:43 -08:00
committed by GitHub
parent 1f630b9767
commit ae6494f3e4
25 changed files with 605 additions and 788 deletions

View File

@@ -84,12 +84,11 @@ export class InstalledPackagesTab {
value: localize('managePackages.newPkgVersionColumn', "Version"),
type: azdata.ColumnType.text
},
<azdata.ButtonColumn>
{
value: localize('managePackages.deleteColumn', "Delete"),
type: azdata.ColumnType.button,
options: {
icon: IconPathHelper.delete
}
icon: IconPathHelper.delete
}
],
data: [[]],
@@ -227,7 +226,7 @@ export class InstalledPackagesTab {
let packageCount: number;
if (pythonPackages) {
packageCount = pythonPackages.length;
packageData = pythonPackages.map(pkg => [pkg.name, pkg.version]);
packageData = pythonPackages.map(pkg => [pkg.name, pkg.version, undefined]);
} else {
packageCount = 0;
}