Skip to content

Commit f4b4a87

Browse files
siduckmergify[bot]
authored andcommitted
fix(deploy-ui): errors not showing on cached data
(cherry picked from commit 6da8ebe)
1 parent 6b93f01 commit f4b4a87

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dashboard/src/components/benches/pipeline/Details.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ const fetchSetErrs = () => {
166166
warnings.fetch()
167167
}
168168
169+
// pipeline.doc exists if cache exists
170+
// if cache exists then onSuccess wont run so fetch errs!
171+
if(pipeline?.doc?.status == 'Failure') fetchSetErrs()
172+
169173
const wired = reactive(new Set<string>())
170174
const builds = ref<Record<string, any>>({})
171175

0 commit comments

Comments
 (0)