mirror of
https://github.com/xodio/xod.git
synced 2026-03-25 01:56:54 +01:00
tweak(xod-client-browser): provide default name for saved xodball
This commit is contained in:
@@ -107,7 +107,7 @@ class App extends client.App {
|
||||
const { project } = this.props;
|
||||
|
||||
const xodballJSON = XP.toXodball(project);
|
||||
const xodballName = XP.getProjectName(project);
|
||||
const xodballName = XP.getProjectName(project) || 'my-project';
|
||||
const link = document ? document.createElement('a') : null;
|
||||
const url = `data:application/xod;charset=utf8,${encodeURIComponent(
|
||||
xodballJSON
|
||||
|
||||
Reference in New Issue
Block a user