aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/components
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-09-27 02:34:52 +0200
committerGitHub <noreply@github.com>2023-09-27 08:34:52 +0800
commit709c2fad8a5c8f8dd270f9b291343d3a37d665e0 (patch)
tree0507542109ae11ca6917d60c936383f4bb504fbe /web_src/js/components
parenteab20cb6bd7bcbc1c3fffd5a41f1d1029ed30e27 (diff)
downloadgitea-709c2fad8a5c8f8dd270f9b291343d3a37d665e0.tar.gz
gitea-709c2fad8a5c8f8dd270f9b291343d3a37d665e0.zip
Add missed return to actions view fetch (#27289)
Should fix: #27213
Diffstat (limited to 'web_src/js/components')
-rw-r--r--web_src/js/components/RepoActionView.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue
index da06dd9cb6..797869b78c 100644
--- a/web_src/js/components/RepoActionView.vue
+++ b/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'] || [];