Skip to content

Commit

Permalink
[bugfix] filetype error message (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignapas authored Nov 13, 2020
1 parent f56bca3 commit 3f703c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ qx.Class.define("osparc.dashboard.ExploreBrowser", {
osparc.component.message.FlashMessenger.logAs("Your data was sent to our curation team. We will get back to you shortly.", "INFO");
addServiceWindow.close();
} else {
osparc.component.message.FlashMessenger.logAs("A problem occured while processing your data", "ERROR");
osparc.component.message.FlashMessenger.logAs(`A problem occured while processing your data: ${resp.statusText}`, "ERROR");
}
})
.finally(() => form.setFetching(false));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ qx.Mixin.define("osparc.ui.mixin.FetchButton", {
},
members: {
__icon: null,
_applyFetching: function(isFetching) {
_applyFetching: function(isFetching, old) {
if (isFetching) {
this.__icon = this.getIcon();
this.setIcon("@FontAwesome5Solid/circle-notch/12");
this.getChildControl("icon").getContentElement().addClass("rotate");
} else {
if (this.__icon !== null) {
if (isFetching !== old) {
this.setIcon(this.__icon);
}
this.getChildControl("icon").getContentElement().removeClass("rotate");
Expand Down

0 comments on commit 3f703c2

Please sign in to comment.