Skip to content

Commit 57cc09f

Browse files
committed
Correct hooks name
1 parent 572180b commit 57cc09f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dashboard/Dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class Dashboard extends React.Component {
105105
cloudCode: {
106106
viewCode: true,
107107
},
108-
webhooks: {
108+
hooks: {
109109
create: true,
110110
read: true,
111111
update: true,

dashboard/DashboardView.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class DashboardView extends React.Component {
4848

4949
//webhooks requires removal of heroku link code, then it should work.
5050
/*
51-
if (features.webhooks && features.webhooks.create && features.webhooks.read && features.webhooks.update && features.webhooks.delete) {
51+
if (features.hooks && features.hooks.create && features.hooks.read && features.hooks.update && features.hooks.delete) {
5252
coreSubsections.push({
5353
name: 'Webhooks',
5454
link: '/webhooks'

0 commit comments

Comments
 (0)