X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Fsrc%2Fsrc%2Fcomponents%2FCatalogPackageManager.js;h=f577f8bc7977e05bf8c1fd4344c5aa76c71161b3;hp=c0b996cbc517c2d428e5dd45f2b23267bc6dec64;hb=59b97e587a5a6f87dc9454956c1c61b6591b0f73;hpb=e29efc315df33d546237e270470916e26df391d6 diff --git a/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js b/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js index c0b996cbc..f577f8bc7 100644 --- a/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js +++ b/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js @@ -70,7 +70,7 @@ const CatalogPackageManager = React.createClass({ return (
Download Package - expires  {duration.humanize(true)} + {/*expires  {duration.humanize(true)}*/}
); @@ -88,7 +88,7 @@ const CatalogPackageManager = React.createClass({ var createItem = function (catalogPackage) { const onClickRemove = function () { - CatalogPackageManagerActions.removeCatalogPackage(catalogPackage); + CatalogPackageManagerActions.removeCatalogOperation(catalogPackage); }; const classNames = ClassNames('item', {'-error': catalogPackage.error, '-success': catalogPackage.success}); return ( @@ -106,11 +106,11 @@ const CatalogPackageManager = React.createClass({ ); }; - const packages = this.state.packages || []; + const operations = this.state.operations || []; return (
- {packages.map(createItem)} + {operations.map(createItem)}
);