mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +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"
|
(s: any) => s.email && s.sendStatus != "SENT"
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
const documentTitle = truncate(document.title)
|
const documentTitle = truncateTitle ? truncate(document.title) : document.title;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Transition.Root show={open} as={Fragment}>
|
<Transition.Root show={open} as={Fragment}>
|
||||||
|
|||||||
Reference in New Issue
Block a user