Fix linting
This commit is contained in:
parent
e9fc12042c
commit
5e22e034e9
1 changed files with 2 additions and 2 deletions
|
|
@ -95,10 +95,10 @@ const GraphLabels = () => {
|
||||||
const handleRefresh = useCallback(() => {
|
const handleRefresh = useCallback(() => {
|
||||||
// Reset labels fetch status to allow fetching labels again
|
// Reset labels fetch status to allow fetching labels again
|
||||||
useGraphStore.getState().setLabelsFetchAttempted(false)
|
useGraphStore.getState().setLabelsFetchAttempted(false)
|
||||||
|
|
||||||
// Reset graph data fetch status directly, not depending on allDatabaseLabels changes
|
// Reset graph data fetch status directly, not depending on allDatabaseLabels changes
|
||||||
useGraphStore.getState().setGraphDataFetchAttempted(false)
|
useGraphStore.getState().setGraphDataFetchAttempted(false)
|
||||||
|
|
||||||
// Fetch all labels again
|
// Fetch all labels again
|
||||||
useGraphStore.getState().fetchAllDatabaseLabels()
|
useGraphStore.getState().fetchAllDatabaseLabels()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue