mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix: CB-936 allow reload after an error in data request
This commit is contained in:
@@ -46,7 +46,7 @@ export class ContainerDataSource extends DatabaseDataSource<IDataContainerOption
|
||||
}
|
||||
|
||||
isDisabled(resultIndex: number): boolean {
|
||||
return !this.getResult(resultIndex)?.data;
|
||||
return !this.getResult(resultIndex)?.data && this.error === null;
|
||||
}
|
||||
|
||||
cancel(): boolean {
|
||||
|
||||
@@ -44,7 +44,7 @@ export class QueryDataSource extends DatabaseDataSource<IDataQueryOptions, IData
|
||||
}
|
||||
|
||||
isDisabled(resultIndex: number): boolean {
|
||||
return !this.getResult(resultIndex)?.data;
|
||||
return !this.getResult(resultIndex)?.data && this.error === null;
|
||||
}
|
||||
|
||||
cancel(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user