mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 13:22:39 +03:00
dd3bc06761
closes https://linear.app/tryghost/issue/ENG-739 - `props.innerRef` in `<IFrame>` was inadvertently assumed to always exist, sometimes throwing an error on render when certain popups like the profile settings modal were opened resulting in the app crashing and the whole comments block disappearing - added a guard to ensure the ref exists before trying to set it - updated tests so the profile modal route is tested |
||
---|---|---|
.. | ||
actions.test.ts | ||
auth-frame.test.ts | ||
cta.test.ts | ||
editor.test.ts | ||
lazy-loading.test.ts | ||
options.test.ts | ||
pagination.test.ts |