mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
table component improvement (#13801)
* hyperlink column * fixed width for image only button - old behavior
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user