Skip to content

Fix broken Learn More link to cloud code documentation page #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/dashboard/Data/Webhooks/Webhooks.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import DropdownOption from 'components/Dropdown/Option.re
import EmptyState from 'components/EmptyState/EmptyState.react';
import Field from 'components/Field/Field.react';
import FormModal from 'components/FormModal/FormModal.react';
import getSiteDomain from 'lib/getSiteDomain';
import Icon from 'components/Icon/Icon.react';
import Label from 'components/Label/Label.react';
import Modal from 'components/Modal/Modal.react';
Expand Down Expand Up @@ -94,7 +93,7 @@ export default class Webhooks extends TableView {
<Field
label={<Label
text='Webhook type'
description={<span>Learn about <a target='_blank' href={getSiteDomain() + '/docs/cloudcode/guide#cloud-code-cloud-functions'}>functions</a> and <a target='_blank' href={getSiteDomain() + '/docs/cloudcode/guide#cloud-code-beforesave-triggers'}>triggers</a>.</span>}
description={<span>Learn about <a target='_blank' href='http://docs.parseplatform.org/cloudcode/guide#cloud-code-cloud-functions'>functions</a> and <a target='_blank' href='http://docs.parseplatform.org/cloudcode/guide#cloud-code-beforesave-triggers'>triggers</a>.</span>}
/>}
input={<Dropdown
onChange={value => {
Expand Down Expand Up @@ -284,7 +283,7 @@ export default class Webhooks extends TableView {
renderEmpty() {
return <EmptyState
title='Webhooks'
description={<span>Use webhooks to run Cloud Code or connect Parse to your own server. <a href={getSiteDomain() + '/docs/cloudcode/guide'} target='_blank'>Learn more</a>.</span>}
description={<span>Use webhooks to run Cloud Code or connect Parse to your own server. <a href='http://docs.parseplatform.org/cloudcode/guide/#cloud-code-webhooks' target='_blank'>Learn more</a>.</span>}
icon='gears'
cta='Create a Webhook'
action={this.openNewWebhookModal.bind(this)} />
Expand Down