Skip to content

Commit

Permalink
make class name of customer configurable #6
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser committed Oct 6, 2017
1 parent f28eed5 commit 0ee2b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/public/js/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pimcore.plugin.customermanagementframework = Class.create(pimcore.plugin.admin,
return;
}

if (object.data.general.o_className === pimcore.settings.cmf && pimcore.globalmanager.get("user").isAllowed(ActivityView.config.PERMISSION)) {
if (object.data.general.o_className === pimcore.settings.cmf.customerClassName && pimcore.globalmanager.get("user").isAllowed(ActivityView.config.PERMISSION)) {
var panel = new ActivityView.ActivityTab(object, type).getPanel();

object.tab.items.items[1].insert(1, panel);
Expand Down

0 comments on commit 0ee2b15

Please sign in to comment.