mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(data-export-plugin): export canceling behavior
dbeaver-corp/dbeaver-web#618
This commit is contained in:
@@ -136,7 +136,7 @@ export const PendingNotification = observer(function PendingNotification({
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
{task.isFinished && !isSuccess && (
|
||||
{task.isFinished && !isSuccess && task.getRejectionReason() && (
|
||||
<Button
|
||||
type="button"
|
||||
mod={['outlined']}
|
||||
@@ -151,6 +151,7 @@ export const PendingNotification = observer(function PendingNotification({
|
||||
type="button"
|
||||
mod={['outlined']}
|
||||
onClick={handleCancel}
|
||||
disabled={task.getState() === EDeferredState.CANCELLING}
|
||||
>
|
||||
{translate('ui_processing_cancel')}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user