diff --git a/src/PresentationalComponents/TableView/TableViewAssets.js b/src/PresentationalComponents/TableView/TableViewAssets.js index 85a9b7a7c..f62e887c1 100644 --- a/src/PresentationalComponents/TableView/TableViewAssets.js +++ b/src/PresentationalComponents/TableView/TableViewAssets.js @@ -88,7 +88,7 @@ export const systemPackagesColumns = [ }, { title: intl.formatMessage(messages.labelsColumnsStatus), - transforms: [cellWidth(10)], + transforms: [sortable, cellWidth(10)], key: 'updatable' }, { diff --git a/src/SmartComponents/SystemPackages/__snapshots__/SystemPackages.test.js.snap b/src/SmartComponents/SystemPackages/__snapshots__/SystemPackages.test.js.snap index 6ffe8f13a..e92f26c6a 100644 --- a/src/SmartComponents/SystemPackages/__snapshots__/SystemPackages.test.js.snap +++ b/src/SmartComponents/SystemPackages/__snapshots__/SystemPackages.test.js.snap @@ -71,6 +71,7 @@ exports[`SystemPackages.js Should match the snapshots 1`] = ` "title": "Status", "transforms": Array [ [Function], + [Function], ], }, Object { diff --git a/src/SmartComponents/Systems/SystemsListAssets.js b/src/SmartComponents/Systems/SystemsListAssets.js index d53fabadd..b358094af 100644 --- a/src/SmartComponents/Systems/SystemsListAssets.js +++ b/src/SmartComponents/Systems/SystemsListAssets.js @@ -105,11 +105,10 @@ export const packageSystemsColumns = [ } }, { - key: 'upgradable', + key: 'updatable', title: 'Status', props: { - width: 20, - isStatic: true + width: 20 }, renderFunc: value => createUpgradableColumn(value) } diff --git a/src/Utilities/DataMappers.js b/src/Utilities/DataMappers.js index c34db67cb..166b76536 100644 --- a/src/Utilities/DataMappers.js +++ b/src/Utilities/DataMappers.js @@ -191,7 +191,6 @@ export const createPackageSystemsRows = (rows, selectedRows = {}) => { available_evra: row.updatable && row.available_evra || row.installed_evra, disableSelection: !row.updatable, updatable: row.updatable, - upgradable: row.updatable, selected: selectedRows[row.id] !== undefined, tags: row.tags };