mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Merge pull request #1129 from dbeaver/fix/CB-2500/loader-cancel
fix(core-blocks): CB-2500 loader cancellation
This commit is contained in:
@@ -116,8 +116,9 @@ export const Loader = observer<Props>(function Loader({
|
||||
|
||||
if (loading) {
|
||||
if (element.cancel) {
|
||||
const cancelCopy = onCancel;
|
||||
onCancel = () => {
|
||||
onCancel?.();
|
||||
cancelCopy?.();
|
||||
element.cancel?.();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user