From f2cd5261b2ee6573679f62a855c5df09012249a2 Mon Sep 17 00:00:00 2001 From: Evgeny Kochetkov Date: Tue, 16 Oct 2018 15:50:51 +0300 Subject: [PATCH] tweak(xod-client-browser): provide default name for saved xodball --- packages/xod-client-browser/src/containers/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xod-client-browser/src/containers/App.jsx b/packages/xod-client-browser/src/containers/App.jsx index 70ebce4e0..94b8df29e 100644 --- a/packages/xod-client-browser/src/containers/App.jsx +++ b/packages/xod-client-browser/src/containers/App.jsx @@ -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