fix: fix table columns resize glitches on slow network (#1707)

Fixes #1580
This commit is contained in:
Thaïs
2023-09-22 19:45:29 +02:00
committed by GitHub
parent 20267f081a
commit 1c3897848f
8 changed files with 137 additions and 45 deletions

View File

@ -0,0 +1,12 @@
import { gql } from '@apollo/client';
export const VIEW_FIELD_FRAGMENT = gql`
fragment ViewFieldFragment on ViewField {
index
isVisible
key
name
size
viewId
}
`;

View File

@ -6,11 +6,7 @@ export const UPDATE_VIEW_FIELD = gql`
$where: ViewFieldWhereUniqueInput!
) {
updateOneViewField(data: $data, where: $where) {
index
isVisible
key
name
size
...ViewFieldFragment
}
}
`;

View File

@ -6,11 +6,7 @@ export const GET_VIEW_FIELDS = gql`
$orderBy: [ViewFieldOrderByWithRelationInput!]
) {
viewFields: findManyViewField(where: $where, orderBy: $orderBy) {
index
isVisible
key
name
size
...ViewFieldFragment
}
}
`;