Browse Source

fix: prefill old notification payload on webhook edit

re #866

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/914/head
Pranav C 3 years ago
parent
commit
8b8b6307cc
  1. 2
      packages/nc-gui/components/project/tableTabs/webhooks.vue

2
packages/nc-gui/components/project/tableTabs/webhooks.vue

@ -529,7 +529,7 @@ export default {
type
}
}
this.enableCondition = !!(this.hook && Object.keys(this.hook.condition).length)
this.enableCondition = !!(this.hook && this.hook.condition && Object.keys(this.hook.condition).length)
await this.onNotTypeChange()
this.notification = payload
if (this.hook.notification.type === 'Slack') {

Loading…
Cancel
Save