fix: display diagram

This commit is contained in:
Maël Gangloff
2024-08-18 14:42:25 +02:00
parent eb851ad2f5
commit 693b5a0b19
3 changed files with 10 additions and 9 deletions

View File

@@ -221,7 +221,8 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: {
</Form.Item>
))}
<Form.Item help={
<Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'>
<Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'
target='_blank'>
{t`Check out this link to the Symfony documentation to help you build the DSN`}
</Typography.Link>}
>

View File

@@ -55,9 +55,9 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
}
onOk={() => setOpen(false)}
onCancel={() => setOpen(false)}
width='80vw'
width='85vw'
>
{nodes && edges && <Flex style={{width: '75vw', height: '80vh'}}>
<Flex style={{width: '80vw', height: '80vh'}}>
<ReactFlow
fitView
colorMode='system'
@@ -73,7 +73,7 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
<Controls/>
<Background/>
</ReactFlow>
</Flex>}
</Flex>
</Modal>
</>
}

View File

@@ -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 ""