Mathijs den Burger pushed to branch master at cms-community / 
hippo-addon-channel-manager


Commits:
efb7adb0 by Mathijs den Burger at 2018-02-19T11:16:03+01:00
CHANNELMGR-1584 Track components by ID instead of by label

Component labels can clash. Component IDs are always unique.

- - - - -
6d5f6f6a by Mathijs den Burger at 2018-02-19T11:21:24+01:00
CHANNELMGR-1584 Reintegrate bugfix/CHANNELMGR-1584

- - - - -


1 changed file:

- 
frontend-ng/src/app/channel/sidePanels/leftSidePanel/componentCatalog/componentCatalog.html


Changes:

=====================================
frontend-ng/src/app/channel/sidePanels/leftSidePanel/componentCatalog/componentCatalog.html
=====================================
--- 
a/frontend-ng/src/app/channel/sidePanels/leftSidePanel/componentCatalog/componentCatalog.html
+++ 
b/frontend-ng/src/app/channel/sidePanels/leftSidePanel/componentCatalog/componentCatalog.html
@@ -1,5 +1,5 @@
 <!--
-  Copyright 2015-2017 Hippo B.V. (http://www.onehippo.com)
+  Copyright 2015-2018 Hippo B.V. (http://www.onehippo.com)
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 <md-list class="qa-catalog">
   <md-list-item class="md-1-line"
-                ng-repeat="component in $ctrl.components track by 
component.label"
+                ng-repeat="component in $ctrl.components track by component.id"
                 ng-class="{'list-item-active catalog-list-item-active': 
$ctrl.isComponentSelected(component)}"
                 ng-click="$ctrl.onSelect(component)">
     <img class="md-avatar"



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/4dc251244812b63ab7dff79dc7d804f76b676d07...6d5f6f6aa79533c7b9598faecef2655640d3e258

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/4dc251244812b63ab7dff79dc7d804f76b676d07...6d5f6f6aa79533c7b9598faecef2655640d3e258
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to