Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: spreading 2 grids options causes duplicate ext resources #1127

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

ghiscoding
Copy link
Owner

  • regression fix for older version 6.x branch
  • partially rolls back PR fix: registered external resouces should keep singleton ref #1118 because that caused a regression that was identified by a user of Angular-Slickgrid in which defining a global external resource for ExcelExport no longer worked.
  • this PR also fixes duplicatation of external resources when having multiple grid on the same page and spreading grid options of another grid (e.g.: { ...this.gridOptions1, sortable: false })

- regression fix for version 4.x branch
- partially rolls back PR #1118 because that caused a regression that was identified by a user of Angular-Slickgrid in which defining a global external resource for ExcelExport no longer worked.
- this PR also fixes duplicatation of external resources when having multiple grid on the same page and spreading grid options of another grid (e.g.: `{ ...this.gridOptions1, sortable: false }`)
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (version6@d5de49e). Click here to learn what that means.

Additional details and impacted files
@@             Coverage Diff             @@
##             version6    #1127   +/-   ##
===========================================
  Coverage            ?   99.90%           
===========================================
  Files               ?        9           
  Lines               ?      938           
  Branches            ?      341           
===========================================
  Hits                ?      937           
  Misses              ?        1           
  Partials            ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit 33ad688 into version6 Dec 15, 2023
4 checks passed
@ghiscoding ghiscoding deleted the bugfix/global-register-resource-v4 branch December 15, 2023 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant