Ghost/apps
Ronald Langeveld 741a00fe05
Fixed confirmation modals on Integrations - Admin X (#18534)
refs
https://www.notion.so/ghost/AdminX-feedback-27fc7f549bbf4a53bfa2e7b6e5643963?p=39e45d28cd2643888b82d5e9cc0901a3&pm=s

- The logic was correct, but the string value from the API passed in
null when
  empty instead of an empty string.
- this takes a potential null into account to be able to make the
  condition comparison more reliable.

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at eac36f4</samp>

Fixed some issues with the state management and input handling of the
`AmpModal` and `FirstPromoterModal` components in the admin settings
app. These changes prevent errors and warnings when the integrations are
null, disabled, or unconfigured.
2023-10-09 11:52:56 +07:00
..
admin-x-settings Fixed confirmation modals on Integrations - Admin X (#18534) 2023-10-09 11:52:56 +07:00
announcement-bar Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
comments-ui Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
portal Reverted "Update sentry-javascript monorepo to v7.73.0" 2023-10-06 13:46:17 +02:00
signup-form Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
sodo-search Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00