diff --git a/resources/assets/src/components/admin/Update.vue b/resources/assets/src/components/admin/Update.vue index 68348eb5..90969645 100644 --- a/resources/assets/src/components/admin/Update.vue +++ b/resources/assets/src/components/admin/Update.vue @@ -93,7 +93,7 @@ export default { const { errno, msg } = await this.$http.post('/admin/update/download', { action }); - if (errno && errno !== 0) { + if (errno) { swal({ type: 'error', text: msg }); this.updating = false; }