Skip to content

Commit

Permalink
feat: Add description field to the scene file
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Jan 5, 2024
1 parent ec58e32 commit 7aa65ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/modules/deployment/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export type SceneDefinition = {
title: string
favicon: string
navmapThumbnail?: string
description?: string
}
main: string
owner: string
Expand Down
3 changes: 2 additions & 1 deletion src/modules/project/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ export function getSceneDefinition(
...sceneJson,
display: {
...sceneJson.display!,
title: project.title
title: project.title,
description: ''
},
scene: {
...sceneJson.scene,
Expand Down

0 comments on commit 7aa65ee

Please sign in to comment.