Skip to content

Commit

Permalink
Fixed getting class from store for getting proper configurations for …
Browse files Browse the repository at this point in the history
…output channels. (#86)
  • Loading branch information
vmalyk authored Jun 28, 2024
1 parent 24a31de commit d77170e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ pimcore.document.editables.outputchanneltable = Class.create(pimcore.document.ed

getCurrentClassId: function() {
var classStore = pimcore.globalmanager.get("object_types_store");
var index = classStore.find("text", this.selectedClass);
var index = classStore.find("text", this.selectedClass, 0, false, false, true);
if(typeof index !== 'undefined' && classStore.getAt(index)) {
return classStore.getAt(index).id;
}
Expand Down

0 comments on commit d77170e

Please sign in to comment.