mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix
This commit is contained in:
parent
cbfe197a28
commit
861e8904a8
2 changed files with 14 additions and 8 deletions
|
|
@ -1742,7 +1742,10 @@ export const createComponentsSlice = (set, get) => ({
|
|||
getCustomResolvableReference: (value, parentId, moduleId) => {
|
||||
const { getParentComponentType } = get();
|
||||
const parentComponentType = getParentComponentType(parentId, moduleId);
|
||||
if (parentComponentType === 'Listview' && value.includes('listItem') && checkSubstringRegex(value, 'listItem')) {
|
||||
if (
|
||||
(parentComponentType === 'Listview' && value.includes('listItem') && checkSubstringRegex(value, 'listItem')) ||
|
||||
value === '{{listItem}}'
|
||||
) {
|
||||
return { entityType: 'components', entityNameOrId: parentId, entityKey: 'listItem' };
|
||||
} else if (
|
||||
parentComponentType === 'Kanban' &&
|
||||
|
|
|
|||
|
|
@ -1512,11 +1512,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
// hide scrollbar on touch devices
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.jet-data-table::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
background: transparent;
|
||||
}
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.jet-data-table {
|
||||
overflow: auto;
|
||||
}
|
||||
// hide scrollbar on touch devices
|
||||
.jet-data-table::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue