feels better
This commit is contained in:
parent
8fd97d2253
commit
46b140ad52
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@
|
|||
|
||||
function downloadProject() {
|
||||
// generate file name
|
||||
let filteredProjectName = projectName.replace(/[^a-z0-9\-]+/gim, "_");
|
||||
let filteredProjectName = (projectName || projectID).replace(/[^a-z0-9\-]+/gim, "_");
|
||||
let fileName = filteredProjectName + ".tbext";
|
||||
if (!filteredProjectName) {
|
||||
fileName = "MyProject.tbext";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue