Skip to content

Commit 0cc1352

Browse files
committed
fix: Infinite loader if package not found
1 parent 7381068 commit 0cc1352

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/Start.vue

+8-2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
requestData () {
177177
if (this.package === null || this.package === '' || this.package === 'undefined') {
178178
this.showError = true
179+
this.loading = false
179180
return
180181
}
181182
this.resetState()
@@ -195,6 +196,7 @@
195196
.catch(err => {
196197
this.errorMessage = err.response.data.error
197198
this.showError = true
199+
this.loading = false
198200
})
199201
},
200202
validateDataRequest () {
@@ -259,7 +261,7 @@
259261
260262
.content {
261263
background: color(ghost-white);
262-
min-height: calc(100vh - 180px);
264+
min-height: calc(100vh - 191px);
263265
}
264266
265267
.title {
@@ -288,9 +290,13 @@
288290
padding: rem(100) 0 rem(20) 0;
289291
margin: 0 auto;
290292
display: flex;
291-
flex-direction: row;
293+
flex-direction: column;
292294
justify-content: center;
293295
align-items: center;
296+
297+
@include media($sm-up) {
298+
flex-direction: row;
299+
}
294300
}
295301
@include has(input) {
296302
padding: rem(20);

0 commit comments

Comments
 (0)