File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -60,22 +60,25 @@ async function getTaskRequests(query = {}, nextLink) {
60
60
61
61
if ( res . status === 401 ) {
62
62
showMessage ( 'ERROR' , ErrorMessages . UNAUTHENTICATED ) ;
63
- return ;
63
+ return { data : [ ] } ;
64
64
}
65
65
66
66
if ( res . status === 403 ) {
67
67
showMessage ( 'ERROR' , ErrorMessages . UNAUTHORIZED ) ;
68
- return ;
68
+ return { data : [ ] } ;
69
69
}
70
70
71
71
if ( res . status === 404 ) {
72
72
showMessage ( 'ERROR' , ErrorMessages . NOT_FOUND ) ;
73
- return ;
73
+ return { data : [ ] } ;
74
74
}
75
75
76
76
showMessage ( 'ERROR' , ErrorMessages . SERVER_ERROR ) ;
77
+ return { data : [ ] } ;
77
78
} catch ( e ) {
78
79
console . error ( e ) ;
80
+ showMessage ( 'ERROR' , ErrorMessages . SERVER_ERROR ) ;
81
+ return { data : [ ] } ;
79
82
}
80
83
}
81
84
Original file line number Diff line number Diff line change @@ -364,12 +364,13 @@ body {
364
364
gap : 1rem ;
365
365
}
366
366
.taskRequest__message {
367
- line-height : 1.25 rem ;
367
+ line-height : 1.2 ;
368
368
font-weight : 600 ;
369
369
text-align : center;
370
370
font-size : 1.5rem ;
371
371
width : 100% ;
372
372
position : absolute;
373
+ word-wrap : break-word;
373
374
}
374
375
.taskRequest__message--error {
375
376
color : var (--color-error );
@@ -482,6 +483,10 @@ body {
482
483
.funnel-icon {
483
484
margin : auto;
484
485
}
486
+
487
+ .taskRequest__message--error {
488
+ position : static;
489
+ }
485
490
}
486
491
487
492
@media screen and (max-width : 320px ) {
You can’t perform that action at this time.
0 commit comments