From 693b5a0b195acb87bb00ea3ad3553fc7ad668dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sun, 18 Aug 2024 14:42:25 +0200 Subject: [PATCH] fix: display diagram --- assets/components/tracking/watchlist/WatchlistForm.tsx | 3 ++- .../watchlist/diagram/ViewDiagramWatchlistButton.tsx | 6 +++--- translations/translations.pot | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/components/tracking/watchlist/WatchlistForm.tsx b/assets/components/tracking/watchlist/WatchlistForm.tsx index 6eb8b36..87c428f 100644 --- a/assets/components/tracking/watchlist/WatchlistForm.tsx +++ b/assets/components/tracking/watchlist/WatchlistForm.tsx @@ -221,7 +221,8 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: { ))} + {t`Check out this link to the Symfony documentation to help you build the DSN`} } > diff --git a/assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx b/assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx index 953b01b..4950496 100644 --- a/assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx +++ b/assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx @@ -55,9 +55,9 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) { } onOk={() => setOpen(false)} onCancel={() => setOpen(false)} - width='80vw' + width='85vw' > - {nodes && edges && + - } + } \ No newline at end of file diff --git a/translations/translations.pot b/translations/translations.pot index 6b95a37..f47d394 100644 --- a/translations/translations.pot +++ b/translations/translations.pot @@ -204,12 +204,12 @@ msgid "" msgstr "" #: assets/components/tracking/connector/ConnectorForm.tsx:176 -#: assets/components/tracking/watchlist/WatchlistForm.tsx:244 +#: assets/components/tracking/watchlist/WatchlistForm.tsx:245 msgid "Create" msgstr "" #: assets/components/tracking/connector/ConnectorForm.tsx:179 -#: assets/components/tracking/watchlist/WatchlistForm.tsx:247 +#: assets/components/tracking/watchlist/WatchlistForm.tsx:248 msgid "Reset" msgstr "" @@ -293,15 +293,15 @@ msgstr "" msgid "This DSN does not appear to be valid" msgstr "" -#: assets/components/tracking/watchlist/WatchlistForm.tsx:225 +#: assets/components/tracking/watchlist/WatchlistForm.tsx:226 msgid "Check out this link to the Symfony documentation to help you build the DSN" msgstr "" -#: assets/components/tracking/watchlist/WatchlistForm.tsx:234 +#: assets/components/tracking/watchlist/WatchlistForm.tsx:235 msgid "Add a Webhook" msgstr "" -#: assets/components/tracking/watchlist/WatchlistForm.tsx:244 +#: assets/components/tracking/watchlist/WatchlistForm.tsx:245 msgid "Update" msgstr ""