mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 10:15:41 +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([])
|
const [edges, setEdges, onEdgesChange] = useEdgesState([])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setNodes([])
|
||||||
|
setEdges([])
|
||||||
|
|
||||||
if (!open) return
|
if (!open) return
|
||||||
setLoading(true)
|
setLoading(true)
|
||||||
getWatchlist(token).then(w => {
|
getWatchlist(token).then(w => {
|
||||||
|
|||||||
@ -317,11 +317,11 @@ msgstr ""
|
|||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:40
|
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:43
|
||||||
msgid "View the Watchlist Entity Diagram"
|
msgid "View the Watchlist Entity Diagram"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:45
|
#: assets/components/tracking/watchlist/diagram/ViewDiagramWatchlistButton.tsx:48
|
||||||
msgid "Watchlist Entity Diagram"
|
msgid "Watchlist Entity Diagram"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user