mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
fix: correct upgrade link (#10138)
Description: | State | URL | | ------------- | ------------- | | Not working (404) | https://www.getunleash.io/upgrade_unleash | | Working (200) | https://www.getunleash.io/upgrade-unleash | Co-authored-by: Сидорук Сергій Віталійович <ssydoruk@alliancedigital.tech>
This commit is contained in:
parent
f0a2c335fb
commit
369280ae85
@ -33,7 +33,7 @@ test('Show upgrade message and link - with tooltip', async () => {
|
|||||||
|
|
||||||
expect(link).toHaveAttribute(
|
expect(link).toHaveAttribute(
|
||||||
'href',
|
'href',
|
||||||
'https://www.getunleash.io/upgrade_unleash?utm_medium=feature&utm_content=environments',
|
'https://www.getunleash.io/upgrade-unleash?utm_medium=feature&utm_content=environments',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -50,6 +50,6 @@ test('Show upgrade message and link - without tooltip', async () => {
|
|||||||
|
|
||||||
expect(link).toHaveAttribute(
|
expect(link).toHaveAttribute(
|
||||||
'href',
|
'href',
|
||||||
'https://www.getunleash.io/upgrade_unleash?utm_medium=feature&utm_content=environments',
|
'https://www.getunleash.io/upgrade-unleash?utm_medium=feature&utm_content=environments',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
@ -138,7 +138,7 @@ const PremiumFeatures = {
|
|||||||
type PremiumFeatureType = keyof typeof PremiumFeatures;
|
type PremiumFeatureType = keyof typeof PremiumFeatures;
|
||||||
|
|
||||||
const PLANS_URL = 'https://www.getunleash.io/plans';
|
const PLANS_URL = 'https://www.getunleash.io/plans';
|
||||||
const UPGRADE_URL = 'https://www.getunleash.io/upgrade_unleash';
|
const UPGRADE_URL = 'https://www.getunleash.io/upgrade-unleash';
|
||||||
|
|
||||||
export interface PremiumFeatureProps {
|
export interface PremiumFeatureProps {
|
||||||
feature: PremiumFeatureType;
|
feature: PremiumFeatureType;
|
||||||
|
Loading…
Reference in New Issue
Block a user