Skip to content

Commit

Permalink
Set page tile when diagram has no title.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCoder committed Oct 28, 2024
1 parent b8d415d commit 2b1b392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/browserService.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const currentBrowserTab = {
setTitle: (title) => {
window.document.title = title;
window.document.title = title || 'ZenUML | Untitled';
},
getTitle: () => window.document.title,
};
Expand Down

0 comments on commit 2b1b392

Please sign in to comment.