mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 01:11:25 +00:00
Fix loadStartKey
This commit is contained in:
@@ -353,7 +353,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
},
|
},
|
||||||
onLoadStartKey,
|
onLoadStartKey,
|
||||||
);
|
);
|
||||||
setOnLoadStartKey(null);
|
setOnLoadStartKey(undefined);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -825,7 +825,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
},
|
},
|
||||||
onLoadStartKey,
|
onLoadStartKey,
|
||||||
);
|
);
|
||||||
setOnLoadStartKey(null);
|
setOnLoadStartKey(undefined);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
@@ -846,7 +846,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
},
|
},
|
||||||
onLoadStartKey,
|
onLoadStartKey,
|
||||||
);
|
);
|
||||||
setOnLoadStartKey(null);
|
setOnLoadStartKey(undefined);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@@ -1423,7 +1423,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
_onLoadStartKey,
|
_onLoadStartKey,
|
||||||
);
|
);
|
||||||
// TODO: Set on Load start key to null to stop telemetry traces
|
// TODO: Set on Load start key to null to stop telemetry traces
|
||||||
// this.onLoadStartKey = null;
|
setOnLoadStartKey(null);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(error: any) => {
|
(error: any) => {
|
||||||
@@ -1442,7 +1442,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
_onLoadStartKey,
|
_onLoadStartKey,
|
||||||
);
|
);
|
||||||
// TODO: Set on Load start key to null to stop telemetry traces
|
// TODO: Set on Load start key to null to stop telemetry traces
|
||||||
// this.onLoadStartKey = null;
|
setOnLoadStartKey(undefined);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user