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.
  • Loading branch information
vmalyk committed Jun 10, 2024
1 parent fec0b07 commit 09c0e13
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 09c0e13

Please sign in to comment.