File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export class MainStore {
35
35
36
36
readonly snapshots : SnapshotsStore
37
37
38
-
39
38
constructor ( api : MainStoreApi ) {
40
39
makeAutoObservable ( this )
41
40
@@ -78,7 +77,8 @@ export class MainStore {
78
77
} )
79
78
}
80
79
81
- if ( error ) this . cloneError = await getTextFromUnknownApiError ( error )
80
+ if ( error )
81
+ this . cloneError = await error . json ( ) . then ( ( err ) => err ?. message || err )
82
82
83
83
return Boolean ( response )
84
84
}
@@ -101,6 +101,7 @@ export class MainStore {
101
101
)
102
102
}
103
103
104
- if ( error ) this . cloneError = await getTextFromUnknownApiError ( error )
104
+ if ( error )
105
+ this . cloneError = await error . json ( ) . then ( ( err ) => err ?. message || err )
105
106
}
106
107
}
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const useStyles = makeStyles(
36
36
root : {
37
37
fontSize : '14px' ,
38
38
marginTop : 0 ,
39
+ display : 'block' ,
39
40
} ,
40
41
container : {
41
42
maxHeight : '400px' ,
You can’t perform that action at this time.
0 commit comments