Skip to content

Commit

Permalink
Fix: Add trickle button to data collection (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-allen-89 authored May 15, 2024
1 parent 2c55035 commit e77782b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ export function addButtonComponents() {
trickleButtonModel.setupModel();
// This line would usually append a trickle button to an article or block
buttonModelSite.getChildren().add(trickleButtonModel);
// Add trickle button to data collection
data.add(trickleButtonModel);
});
}

Expand Down

0 comments on commit e77782b

Please sign in to comment.