0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/apps
Ronald Langeveld 9ae2e24315
Fixed overwritten theme duplication in ThemeList (#18405)
refs
https://www.notion.so/ghost/AdminX-feedback-27fc7f549bbf4a53bfa2e7b6e5643963?p=6a295239a38840f18b0a3b1710095074&pm=s

- There was an issue where an overwritten theme would be included in the
themes array twice when passed to the ThemeList component.
- We now remove the initial theme from the array when overwriting to
avoid duplications.

---

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

This pull request refactors the theme problem view component to make it
reusable and fixes a bug with theme name display in the theme modal. It
affects the files `InvalidThemeModal.tsx` and `ThemeModal.tsx` in the
admin-x-settings app.
2023-10-02 09:50:23 +07:00
..
admin-x-settings Fixed overwritten theme duplication in ThemeList (#18405) 2023-10-02 09:50:23 +07:00
announcement-bar Update dependency @vitejs/plugin-react to v4.1.0 2023-09-27 09:36:39 +02:00
comments-ui Update dependency @vitejs/plugin-react to v4.1.0 2023-09-27 09:36:39 +02:00
portal 🐛 Fixed incorrect subscription status text when subscription is comped (#18369) 2023-09-27 08:46:55 +01:00
signup-form Update dependency @vitejs/plugin-react to v4.1.0 2023-09-27 09:36:39 +02:00
sodo-search Update dependency @vitejs/plugin-react to v4.1.0 2023-09-27 09:36:39 +02:00