|
@@ -145,7 +145,7 @@ export default class SettingsSection extends Component<PropsType, StateType> {
|
|
|
</Helper>
|
|
</Helper>
|
|
|
*/
|
|
*/
|
|
|
renderSourceSection = () => {
|
|
renderSourceSection = () => {
|
|
|
- if (!this.props.currentChart.form.hasSource) {
|
|
|
|
|
|
|
+ if (!this.props.currentChart?.form?.hasSource) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -235,7 +235,7 @@ export default class SettingsSection extends Component<PropsType, StateType> {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
renderWebhookSection = () => {
|
|
renderWebhookSection = () => {
|
|
|
- if (!this.props.currentChart.form.hasSource) {
|
|
|
|
|
|
|
+ if (!this.props.currentChart?.form?.hasSource) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|