Skip to content

Commit 3f703c2

Browse files
authored
[bugfix] filetype error message (#1958)
1 parent f56bca3 commit 3f703c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/web/client/source/class/osparc/dashboard/ExploreBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ qx.Class.define("osparc.dashboard.ExploreBrowser", {
757757
osparc.component.message.FlashMessenger.logAs("Your data was sent to our curation team. We will get back to you shortly.", "INFO");
758758
addServiceWindow.close();
759759
} else {
760-
osparc.component.message.FlashMessenger.logAs("A problem occured while processing your data", "ERROR");
760+
osparc.component.message.FlashMessenger.logAs(`A problem occured while processing your data: ${resp.statusText}`, "ERROR");
761761
}
762762
})
763763
.finally(() => form.setFetching(false));

services/web/client/source/class/osparc/ui/mixin/FetchButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ qx.Mixin.define("osparc.ui.mixin.FetchButton", {
1919
},
2020
members: {
2121
__icon: null,
22-
_applyFetching: function(isFetching) {
22+
_applyFetching: function(isFetching, old) {
2323
if (isFetching) {
2424
this.__icon = this.getIcon();
2525
this.setIcon("@FontAwesome5Solid/circle-notch/12");
2626
this.getChildControl("icon").getContentElement().addClass("rotate");
2727
} else {
28-
if (this.__icon !== null) {
28+
if (isFetching !== old) {
2929
this.setIcon(this.__icon);
3030
}
3131
this.getChildControl("icon").getContentElement().removeClass("rotate");

0 commit comments

Comments
 (0)