mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix: CB-608 code cleanup
This commit is contained in:
@@ -84,8 +84,8 @@ export const NavigationTree = observer(function NavigationTree() {
|
||||
filters={[connectionGroupFilter]}
|
||||
renderers={[navigationTreeConnectionGroupRenderer]}
|
||||
emptyPlaceholder={() => styled(navigationTreeStyles)(
|
||||
<center as="div">
|
||||
<message as="div">
|
||||
<center>
|
||||
<message>
|
||||
No connections.<br />
|
||||
Use the top menu to setup connection to your database.
|
||||
</message>
|
||||
|
||||
@@ -12,7 +12,7 @@ import { GraphQLService, CachedDataResource } from '@cloudbeaver/core-sdk';
|
||||
import { SessionDataResource } from './SessionDataResource';
|
||||
|
||||
@injectable()
|
||||
export class PermissionsResource extends CachedDataResource<Set<string>, void> {
|
||||
export class PermissionsResource extends CachedDataResource<Set<string>> {
|
||||
constructor(
|
||||
private graphQLService: GraphQLService,
|
||||
sessionDataResource: SessionDataResource
|
||||
|
||||
@@ -12,7 +12,7 @@ import { CachedResource } from './CachedResource';
|
||||
|
||||
export abstract class CachedDataResource<
|
||||
TData,
|
||||
TParam,
|
||||
TParam = void,
|
||||
TKey = TParam,
|
||||
TContext = void,
|
||||
> extends CachedResource<TData, TParam, TKey, TContext> {
|
||||
|
||||
Reference in New Issue
Block a user