Fix linting
This commit is contained in:
@@ -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(() => {
|
||||||
|
Reference in New Issue
Block a user