Skip to content

Commit

Permalink
fix(ui): parameter tab null ref w/ hydrator (argoproj#22097) (argopro…
Browse files Browse the repository at this point in the history
…j#22131)

Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev authored Mar 3, 2025
1 parent 416b7d0 commit bfb04dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ async function getSourceFromAppSources(aSource: models.ApplicationSource, name:

// Delete when source field is removed
async function getSingleSource(app: models.Application) {
if (app.spec.source) {
if (app.spec.source || app.spec.sourceHydrator) {
const repoDetail = await services.repos.appDetails(getAppDefaultSource(app), app.metadata.name, app.spec.project, 0, 0).catch(() => ({
type: 'Directory' as models.AppSourceType,
path: getAppDefaultSource(app).path
Expand Down

0 comments on commit bfb04dd

Please sign in to comment.