mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
fix: display diagram
This commit is contained in:
parent
9ffd5038b9
commit
d98eba53d0
@ -24,6 +24,9 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
|
||||
const [edges, setEdges, onEdgesChange] = useEdgesState([])
|
||||
|
||||
useEffect(() => {
|
||||
setNodes([])
|
||||
setEdges([])
|
||||
|
||||
if (!open) return
|
||||
setLoading(true)
|
||||
getWatchlist(token).then(w => {
|
||||
|
||||
@ -317,11 +317,11 @@ msgstr ""
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:40
|
||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:43
|
||||
msgid "View the Watchlist Entity Diagram"
|
||||
msgstr ""
|
||||
|
||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:45
|
||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:48
|
||||
msgid "Watchlist Entity Diagram"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user