Skip to content

Commit

Permalink
Move groupObj.properties.subscribe()
Browse files Browse the repository at this point in the history
  • Loading branch information
kaapstorm committed Jul 14, 2024
1 parent ec33d6c commit a9428b2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ hqDefine("data_dictionary/js/data_dictionary", [
group.deprecated,
self.changeSaveButton
);
groupObj.properties.subscribe(self.changeSaveButton);
self.groups.push(groupObj);
}

Expand Down Expand Up @@ -143,7 +142,7 @@ hqDefine("data_dictionary/js/data_dictionary", [
self.name.subscribe(changeSaveButton);
self.description.subscribe(changeSaveButton);
self.toBeDeprecated.subscribe(changeSaveButton);
// Don't subscribe self.properties until they have been loaded
self.properties.subscribe(changeSaveButton);

return self;
};
Expand Down

0 comments on commit a9428b2

Please sign in to comment.