Skip to content

Commit 19c207d

Browse files
committed
fix: should not create new prop while querying fileName
1 parent 926136d commit 19c207d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/designer/src/document/document-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class DocumentModel {
8686
}
8787

8888
get fileName(): string {
89-
return this.rootNode?.getExtraProp('fileName')?.getAsString() || this.id;
89+
return this.rootNode?.getExtraProp('fileName', false)?.getAsString() || this.id;
9090
}
9191

9292
set fileName(fileName: string) {

0 commit comments

Comments
 (0)