From 2b1b392aad745090b03bb4d69b738ba34203bae6 Mon Sep 17 00:00:00 2001 From: MrCoder Date: Tue, 29 Oct 2024 10:46:46 +1100 Subject: [PATCH] Set page tile when diagram has no title. --- src/services/browserService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/browserService.js b/src/services/browserService.js index 3e4145ab..726e42d3 100644 --- a/src/services/browserService.js +++ b/src/services/browserService.js @@ -1,6 +1,6 @@ const currentBrowserTab = { setTitle: (title) => { - window.document.title = title; + window.document.title = title || 'ZenUML | Untitled'; }, getTitle: () => window.document.title, };