From 4bd55f7a1e768a3f57fb5cbc566fe97a5eee7935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 24 Apr 2023 10:42:03 +0200 Subject: [PATCH] refactor(editor): Switch to plan change URL on cloud (no-changelog) (#6001) * :truck: Switch to plan change URL on cloud * :test_tube: Update URL in test --- packages/editor-ui/src/plugins/i18n/locales/en.json | 2 +- packages/editor-ui/src/stores/__tests__/ui.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index 0e7454c128..15f9225163 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -1684,7 +1684,7 @@ "contextual.communityNodes.unavailable.button.desktop": "View plans", "contextual.upgradeLinkUrl": "https://subscription.n8n.io/", - "contextual.upgradeLinkUrl.cloud": "https://app.n8n.cloud/manage?edition=cloud", + "contextual.upgradeLinkUrl.cloud": "https://app.n8n.cloud/account/change-plan", "contextual.upgradeLinkUrl.desktop": "https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop", "settings.ldap": "LDAP", diff --git a/packages/editor-ui/src/stores/__tests__/ui.test.ts b/packages/editor-ui/src/stores/__tests__/ui.test.ts index d1bcb831df..8b07625216 100644 --- a/packages/editor-ui/src/stores/__tests__/ui.test.ts +++ b/packages/editor-ui/src/stores/__tests__/ui.test.ts @@ -30,7 +30,7 @@ describe('UI store', () => { 'production', 'https://n8n.io/pricing/?utm_source=n8n-internal&utm_medium=desktop&utm_campaign=utm-test-campaign', ], - ['cloud', 'production', 'https://app.n8n.cloud/manage?edition=cloud'], + ['cloud', 'production', 'https://app.n8n.cloud/account/change-plan'], ])( '"upgradeLinkUrl" should generate the correct URL for "%s" deployment and "%s" license environment', (type, environment, expectation) => {