0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/apps
Ronald Langeveld a562cc7c7f
Fixed default theme button in theme settings (#18656)
no issue

- the default theme (currently Source) showed Activate despite being
active already, which may lead to confusion.
- This fix checks whether it's already to more accurately display the
wording of the button

---

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

Fix theme preview button label for default theme. Hide the activate
button for the default theme if it is already active in
`ThemePreview.tsx`.
2023-10-17 10:15:58 +07:00
..
admin-x-settings Fixed default theme button in theme settings (#18656) 2023-10-17 10:15:58 +07:00
announcement-bar Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00
comments-ui Update tiptap monorepo to v2.1.12 2023-10-13 06:08:29 +00:00
portal Released Portal v2.36.2 (#18654) 2023-10-16 17:27:37 +00:00
signup-form Update react monorepo 2023-10-13 09:07:09 +02:00
sodo-search Update dependency vite to v4.4.11 2023-10-06 07:55:29 +02:00