Add missed return to actions view fetch (#27289)

Should fix: #27213
pull/27287/head^2
silverwind 1 year ago committed by GitHub
parent eab20cb6bd
commit 709c2fad8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      web_src/js/components/RepoActionView.vue

@ -225,7 +225,8 @@ const sfc = {
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
]);
} catch (err) {
if (!(err instanceof TypeError)) throw err; // avoid network error while unloading page
if (err instanceof TypeError) return; // avoid network error while unloading page
throw err;
}
this.artifacts = artifacts['artifacts'] || [];

Loading…
Cancel
Save