mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: display diagram
This commit is contained in:
@@ -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 ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user