mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
fix: respect truncate title prop
This commit is contained in:
@ -37,7 +37,7 @@ export function Dialog({
|
||||
(s: any) => s.email && s.sendStatus != "SENT"
|
||||
).length;
|
||||
|
||||
const documentTitle = truncate(document.title)
|
||||
const documentTitle = truncateTitle ? truncate(document.title) : document.title;
|
||||
|
||||
return (
|
||||
<Transition.Root show={open} as={Fragment}>
|
||||
|
||||
Reference in New Issue
Block a user