We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58db21 commit 8924384Copy full SHA for 8924384
1 file changed
js/SaveInterface.js
@@ -232,10 +232,13 @@ class SaveInterface {
232
}
233
this.showToast(message);
234
};
235
+
236
if (defaultfilename === undefined || defaultfilename === null) {
237
const planet = this.getPlanetInterface();
238
defaultfilename =
- planet && typeof planet.getCurrentProjectName === "function"
239
+ planet &&
240
+ typeof planet.getCurrentProjectName === "function" &&
241
+ planet.getCurrentProjectName().length > 0
242
? planet.getCurrentProjectName()
243
: STR_MY_PROJECT;
244
0 commit comments