Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
feat(ui): fixed spec nesting bug
Browse files Browse the repository at this point in the history
refs: #181
  • Loading branch information
ChrisRousey committed Mar 21, 2023
1 parent 6ae2f28 commit 64445c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/containers/configs/EditConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class EditConfig extends Component {
const currentKind = config.kind

if(currentKind === "STREAM"){
config.spec = stream.spec.kafka;
config.spec = stream.spec;
} else{
config.spec = deployment.spec;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/containers/configs/NewConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class NewConfig extends Component {
const currentKind = config.kind

if(currentKind === "STREAM"){
config.spec = stream.spec.kafka;
config.spec = stream.spec;
} else{
config.spec = deployment.spec;
}
Expand Down

0 comments on commit 64445c4

Please sign in to comment.