Skip to content

Commit 2f89eb0

Browse files
when on cloud, link to cloud version of "getting started" page for "docs" button (#7041)
Changes docs button in bottom left help center to open https://docs.comfy.org/get_started/cloud when on cloud (as opposed to https://docs.comfy.org/). ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7041-when-on-cloud-link-to-cloud-version-of-getting-started-page-for-docs-button-2ba6d73d365081b79bcaf91cfeb3dffd) by [Unito](https://www.unito.io)
1 parent d94e072 commit 2f89eb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/helpcenter/HelpCenterMenuContent.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ const menuItems = computed<MenuItem[]>(() => {
280280
label: t('helpCenter.docs'),
281281
action: () => {
282282
trackResourceClick('docs', true)
283-
openExternalLink(buildDocsUrl('/', { includeLocale: true }))
283+
const path = isCloud ? '/get_started/cloud' : '/'
284+
openExternalLink(buildDocsUrl(path, { includeLocale: true }))
284285
emit('close')
285286
}
286287
},

0 commit comments

Comments
 (0)