Skip to content

Commit

Permalink
add missing svgComplete w/signoff
Browse files Browse the repository at this point in the history
Signed-off-by: Jougan-0 <[email protected]>
  • Loading branch information
Jougan-0 committed Sep 27, 2024
1 parent 38792b6 commit 28fcec8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions models/v1beta1/component/component_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ func (c *ComponentDefinition) ReplaceSVGData(baseDir string) error {
} else {
return err
}
svgComplete, err := utils.ReadSVGData(baseDir, compStyle.SvgComplete)
if err == nil {
compStyle.SvgComplete = svgComplete
} else {
return err
}
}
c.Styles = compStyle
return nil
Expand Down

0 comments on commit 28fcec8

Please sign in to comment.