Skip to content

Commit

Permalink
tweak(xod-client-browser): provide default name for saved xodball
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenykochetkov committed Oct 16, 2018
1 parent 1c07973 commit f2cd526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xod-client-browser/src/containers/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2cd526

Please sign in to comment.