Skip to content

Commit

Permalink
Fixed another issue regarding #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krönert authored and Florian Krönert committed Jun 19, 2019
1 parent 38773be commit 006d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Translator/OptionSetHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
MergeLabels: true
};

if (attribute.IsGlobal) {
if (attribute.GlobalOptionSet && attribute.GlobalOptionSet.IsGlobal) {
update.OptionSetName = attribute.GlobalOptionSet.Name;
}
else {
Expand Down

0 comments on commit 006d2be

Please sign in to comment.