Aside from the fact that it's kind of in-your-face to appear on every page, there is a more significant issue: because it appears on the Updates page, its' visually prominent "Upgrade to [distro version]" button distracts you from the button you actually need to press to start the upgrade: the "Update all" button. I would suggest only showing this banner on the Home/Featured page, not all pages.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/544
Git commit b8a5641f7404d4d9aafd287a2db01a404e0095d5 by Aleix Pol. Committed on 02/05/2023 at 22:15. Pushed by apol into branch 'master'. pk: Clear upgrade inline message when it has already been acted on M +1 -0 libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp https://invent.kde.org/plasma/discover/commit/b8a5641f7404d4d9aafd287a2db01a404e0095d5