Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: CI

on:
push:
branches: [main, v8]
branches: [main]
pull_request:
branches: [main, v8]

jobs:
verify_files:
Expand Down
2 changes: 1 addition & 1 deletion README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm i @gravity-ui/dashkit @gravity-ui/uikit

```ts
type ItemManipulationCallback = (eventData: {
layout: Layouts;
layout: Layout[];
oldItem: Layout;
newItem: Layout;
placeholder: Layout;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Plugins are required to create custom widgets.

```ts
type ItemManipulationCallback = (eventData: {
layout: Layouts;
layout: Layout[];
oldItem: Layout;
newItem: Layout;
placeholder: Layout;
Expand Down
2 changes: 1 addition & 1 deletion src/components/DashKit/DashKit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
defaultProps: defaultGridProps,
groups: groups.reduce<Record<string, GridReflowOptions>>((memo, g) => {
const groupId = g.id || DEFAULT_GROUP;
memo[groupId] = g.gridProperties

Check warning on line 99 in src/components/DashKit/DashKit.tsx

View workflow job for this annotation

GitHub Actions / Verify Files

Assignment to property of function parameter 'memo'
? getReflowProps(g.gridProperties(defaultGridProps))
: defaultGridProps;

Expand Down Expand Up @@ -226,7 +226,7 @@
}

getItemsMeta() {
return this.metaRef.current?.getItemsMeta();
return this.metaRef.current?.getItemsMeta() ?? [];
}

reloadItems(options?: {targetIds?: string[]; force?: boolean}) {
Expand Down
Loading
Loading