projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix serialization of a leaf-list field.
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
instantiate
/
instantiateStore.js
diff --git
a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
index
0e91ee3
..
3ec2a80
100644
(file)
--- a/
skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
+++ b/
skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
@@
-189,10
+189,10
@@
class LaunchNetworkServiceStore {
});
return window.location.hash = 'launchpad/' + tokenizedHash[2];
}
});
return window.location.hash = 'launchpad/' + tokenizedHash[2];
}
- launchNSRError(
data
) {
+ launchNSRError(
error
) {
var msg = 'Something went wrong while trying to instantiate. Check the error logs for more information';
var msg = 'Something went wrong while trying to instantiate. Check the error logs for more information';
- if
(data.
error) {
- msg =
data.
error;
+ if
(
error) {
+ msg = error;
}
Alt.actions.global.showNotification.defer(msg);
Alt.actions.global.hideScreenLoader.defer();
}
Alt.actions.global.showNotification.defer(msg);
Alt.actions.global.hideScreenLoader.defer();