Skip to content

Commit

Permalink
fix: Floating title content incorrect for multi-sources (#17274) (#19623
Browse files Browse the repository at this point in the history
) (#19627)

Signed-off-by: Keith Chong <kykchong@redhat.com>
Co-authored-by: Keith Chong <kykchong@redhat.com>
  • Loading branch information
gcp-cherry-pick-bot[bot] and keithchong committed Aug 21, 2024
1 parent 88f85da commit c873d5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const ApplicationParameters = (props: {
</React.Fragment>
)}
<DataLoader input={app.spec.sources[index]} load={src => getSourceFromAppSources(src, app.metadata.name, app.spec.project, index, 0)}>
{(details: models.RepoAppDetails) => getEditablePanelForOneSource(details, index, source)}
{(details: models.RepoAppDetails) => getEditablePanelForOneSource(details, index, app.spec.sources[index])}
</DataLoader>
</div>
</div>
Expand Down

0 comments on commit c873d5c

Please sign in to comment.