mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(upgrade): remove yellow upgrade banner EE-5141 (#8640)
This commit is contained in:
parent
37f382d286
commit
621a01ba3b
11 changed files with 6 additions and 52 deletions
|
@ -65,19 +65,13 @@ function UpgradeBEBanner() {
|
|||
return null;
|
||||
}
|
||||
|
||||
const subtleButton = userQuery.data.ThemeSettings.subtleUpgradeButton;
|
||||
|
||||
return (
|
||||
<>
|
||||
<button
|
||||
type="button"
|
||||
className={clsx(
|
||||
'flex w-full items-center justify-center gap-1 py-2 pr-2 hover:underline',
|
||||
{
|
||||
'border-0 bg-warning-5 font-semibold text-warning-9': !subtleButton,
|
||||
'border border-solid border-blue-9 bg-[#023959] font-medium text-white th-dark:border-[#343434] th-dark:bg-black':
|
||||
subtleButton,
|
||||
},
|
||||
'border border-solid border-blue-9 bg-[#023959] font-medium text-white th-dark:border-[#343434] th-dark:bg-black',
|
||||
'th-highcontrast:border th-highcontrast:border-solid th-highcontrast:border-white th-highcontrast:bg-black th-highcontrast:font-medium th-highcontrast:text-white'
|
||||
)}
|
||||
onClick={handleClick}
|
||||
|
@ -85,11 +79,7 @@ function UpgradeBEBanner() {
|
|||
<ArrowUpCircle
|
||||
className={clsx(
|
||||
'lucide text-lg',
|
||||
{
|
||||
'fill-warning-9 stroke-warning-5': !subtleButton,
|
||||
'fill-warning-6 stroke-[#023959] th-dark:stroke-black':
|
||||
subtleButton,
|
||||
},
|
||||
'fill-warning-6 stroke-[#023959] th-dark:stroke-black',
|
||||
'th-highcontrast:fill-warning-6 th-highcontrast:stroke-black'
|
||||
)}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue