Skip to content

Commit

Permalink
fix(ui): kafka trigger with null header blocks test render on WebUI (#…
Browse files Browse the repository at this point in the history
…3072)

* fix(ui): kafka trigger with null header blocks test render on WebUI

* Adding PR suggestion
  • Loading branch information
danielbdias committed Aug 16, 2023
1 parent 7eebb04 commit ab8f000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .goreleaser.demo.yaml
Expand Up @@ -49,8 +49,7 @@ builds:
- amd64

dockers:
- skip_push: '{{ .Env.PUBLISH_DOCKER }}'
image_templates:
- image_templates:
- 'kubeshop/tracetest:{{ .Env.VERSION }}'
extra_files:
- web/build
Expand Down
2 changes: 1 addition & 1 deletion web/src/models/KafkaRequest.model.ts
Expand Up @@ -26,7 +26,7 @@ const KafkaRequest = ({
sslVerification,
messageKey,
messageValue,
headers: headers.map(({key = '', value = ''}) => ({
headers: (headers || []).map(({key = '', value = ''}) => ({
key,
value,
})),
Expand Down

0 comments on commit ab8f000

Please sign in to comment.