mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-16 14:50:15 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b8425ecf9 | ||
|
|
a4c1c6e174 |
@@ -226,7 +226,10 @@ export const ReactCodemirror = observer<IReactCodeMirrorProps, IEditorRef>(
|
||||
}
|
||||
|
||||
if (transaction.selection) {
|
||||
view.dispatch({ selection: transaction.selection });
|
||||
view.dispatch({ selection: transaction.selection, scrollIntoView: true });
|
||||
if (!view.hasFocus) {
|
||||
view.focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -45,7 +45,7 @@ export const SqlEditorTools = observer<Props>(function SqlEditorTools({ data, st
|
||||
}
|
||||
}
|
||||
|
||||
async function downloadScriptHandler() {
|
||||
function downloadScriptHandler() {
|
||||
tools.downloadScript(data.value.trim());
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ import {
|
||||
useObjectPropertyCategories,
|
||||
GroupTitle,
|
||||
Container,
|
||||
TextPlaceholder,
|
||||
} from '@cloudbeaver/core-blocks';
|
||||
import type { TabContainerPanelComponent } from '@cloudbeaver/core-ui';
|
||||
import { SystemInformationResource } from './SystemInformationResource.js';
|
||||
@@ -44,6 +45,10 @@ export const SystemInformation: TabContainerPanelComponent<AdministrationItemCon
|
||||
}
|
||||
}
|
||||
|
||||
if (!properties.length) {
|
||||
return <TextPlaceholder>{translate('ui_no_items_placeholder')}</TextPlaceholder>;
|
||||
}
|
||||
|
||||
return (
|
||||
<ColoredContainer overflow parent>
|
||||
<Group gap medium wrap>
|
||||
|
||||
Reference in New Issue
Block a user