mirror of
https://github.com/stackblitz/bolt.new
synced 2025-03-12 06:51:11 +00:00
update comment to reflect the the codeline
This commit is contained in:
parent
604ab8710b
commit
399affd1e9
@ -327,7 +327,7 @@ export class WorkbenchStore {
|
|||||||
async downloadZip() {
|
async downloadZip() {
|
||||||
const zip = new JSZip();
|
const zip = new JSZip();
|
||||||
const files = this.files.get();
|
const files = this.files.get();
|
||||||
// Get the project name (assuming it's stored in this.projectName)
|
// Get the project name from the description input, or use a default name
|
||||||
const projectName = (description.value ?? 'project').toLocaleLowerCase().split(' ').join('_');
|
const projectName = (description.value ?? 'project').toLocaleLowerCase().split(' ').join('_');
|
||||||
|
|
||||||
// Generate a simple 6-character hash based on the current timestamp
|
// Generate a simple 6-character hash based on the current timestamp
|
||||||
|
Loading…
Reference in New Issue
Block a user