Skip to content

Commit

Permalink
Merge branch 'devel' into CB-4868-syntax-highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniaBzzz authored May 23, 2024
2 parents 263db0d + f9b8e85 commit 5d5f031
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/docker/base-java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:23.10
FROM ubuntu:24.04

MAINTAINER DBeaver Corp, [email protected]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void bindWiring(DBWBindingContext model) throws DBWebException {
return true;
})
.dataFetcher("authUpdateStatus", env -> getService(env).authUpdateStatus(
getWebSession(env),
getWebSession(env, false),
env.getArgument("authId"),
CommonUtils.toBoolean(env.getArgument("linkUser"))
))
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-blocks/src/FormControls/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const Combobox: ComboboxType = observer(function Combobox({
placement: 'bottom-end',
currentId: null,
gutter: 4,
unstable_fixed: true,
});

if (readOnly) {
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-blocks/src/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const Menu = observer<IMenuProps, HTMLButtonElement>(
placement,
visible,
rtl,
unstable_fixed: true,
});
const styles = useS(style);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { action, makeObservable, observable } from 'mobx';

import { ISyncExecutor, SyncExecutor } from '@cloudbeaver/core-executor';
import { ResultDataFormat, SqlResultRow, UpdateResultsDataBatchMutationVariables } from '@cloudbeaver/core-sdk';
import { isNull } from '@cloudbeaver/core-utils';

import type { IDatabaseDataSource } from '../../IDatabaseDataSource';
import type { IDatabaseResultSet } from '../../IDatabaseResultSet';
Expand Down Expand Up @@ -142,7 +143,7 @@ export class ResultSetEditAction extends DatabaseEditAction<IResultSetElementKey
const prevValue = update.source?.[key.column.index] as any;

if (isResultSetContentValue(prevValue) && !isResultSetComplexValue(value)) {
if ('text' in prevValue) {
if ('text' in prevValue && !isNull(value)) {
value = createResultSetContentValue({
text: String(value),
contentLength: String(value).length,
Expand Down
3 changes: 2 additions & 1 deletion webapp/packages/product-default/src/UpdateInstruction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { Code } from '@cloudbeaver/core-blocks';
import type { InstructionComponent } from '@cloudbeaver/core-version-update';

export const UpdateInstruction: InstructionComponent = function UpdateInstruction({ version, containerId, className }) {
const id = containerId || 'cloudbeaver';
const id = '{your container id}';

return (
<div className={className}>
<Code>
Expand Down

0 comments on commit 5d5f031

Please sign in to comment.