Skip to content

Commit 8cb80b2

Browse files
committed
fix
1 parent 5e9aff4 commit 8cb80b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/static-webserver/client/source/class/osparc/FlashMessenger.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,14 @@ qx.Class.define("osparc.FlashMessenger", {
105105
allowGrowX: false,
106106
});
107107
errorLabel.addListener("tap", () => {
108+
const currentStudy = osparc.store.Store.getInstance().getCurrentStudy();
108109
const dataToClipboard = {
109110
message,
110111
supportId,
111112
timestamp: new Date().toString(),
112113
url: window.location.href,
113114
releaseTag: osparc.utils.Utils.getReleaseTag(),
114-
studyId: osparc.store.Store.getInstance().getCurrentStudy() || "",
115+
studyId: currentStudy ? currentStudy.getUuid() : "",
115116
}
116117
osparc.utils.Utils.copyTextToClipboard(osparc.utils.Utils.prettifyJson(dataToClipboard));
117118
});

0 commit comments

Comments
 (0)