mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: connection: use subscription_id, add resume support
This commit is contained in:
10 files changed
+48
-27
No files matched your search
@@ -315,6 +315,10 @@ function ProblemSelectionDisplay(props) { // eslint-disable-line
|
||||
setPids((o) => o.filter((i) => !all.includes(i)));
|
||||
});
|
||||
}, []);
|
||||
React.useEffect(() => {
|
||||
(window as any).__getPids = () => pids;
|
||||
(window as any).__setPids = (newIds: string[]) => setPids(newIds);
|
||||
}, [pids]);
|
||||
|
||||
const updateCheckboxSelection = React.useCallback(() => {
|
||||
for (const i of $('[data-checkbox-group="problem"]:checked')) {
|
||||
|
||||
Reference in new issue
Block a user