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=0811093df0966f2047fcb9e9b805545cfb1f09b8;hp=c0b996cbc517c2d428e5dd45f2b23267bc6dec64;hb=e1c7c12af6f1d5f6fc69329251e47f2abf7fd4f1;hpb=0fc4b246b69ecd59401aa6c9bf921b29793d8136 diff --git a/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js b/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js index c0b996cbc..0811093df 100644 --- a/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js +++ b/skyquake/plugins/composer/src/src/components/CatalogPackageManager.js @@ -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)}
);