File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ class MappingInputProvider extends HTMLElement {
155
155
*/
156
156
executeMapping ( ) : Promise < any > ;
157
157
async executeMapping ( download : boolean = false ) : Promise < any > {
158
+ document . body . style . cursor = 'wait' ;
158
159
let inputElement : HTMLInputElement = < HTMLInputElement > (
159
160
this . shadowRoot . getElementById ( "mappingchooser" )
160
161
) ;
@@ -187,7 +188,9 @@ class MappingInputProvider extends HTMLElement {
187
188
} ) . catch ( error => {
188
189
console . error ( "Error occured due to response other than 200:" , error ) ;
189
190
alert ( "A remote mapping error occured. Please check server logs for details." ) ;
190
- } ) ;
191
+ } ) . finally ( ( ) => {
192
+ document . body . style . cursor = 'auto' ;
193
+ } )
191
194
}
192
195
}
193
196
}
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ button:hover {
62
62
border-radius : 3.125rem ;
63
63
padding : 0.625rem 1.25rem ;
64
64
box-shadow : 0 0.125rem 0.3125rem rgba (0 , 0 , 0 , 0.3 );
65
+ width : fit-content;
65
66
}
66
67
67
68
.mapping-input {
You can’t perform that action at this time.
0 commit comments