Fix min width and title detection in file collections
This commit is contained in:
parent
1032309cf5
commit
8b9e7e4fe2
@ -23,8 +23,8 @@ const StyledMainContainerWrapper = styled('div')`
|
||||
`;
|
||||
|
||||
const StyledMainContainer = styled('div')`
|
||||
min-width: 1200px;
|
||||
max-width: 1440px;
|
||||
min-width: 1152px;
|
||||
max-width: 1392px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
|
@ -356,7 +356,7 @@ export function selectInferedField(collection: Collection, fieldName: string) {
|
||||
}
|
||||
>
|
||||
)[fieldName];
|
||||
const fields = 'fields' in collection ? collection.fields ?? [] : [];
|
||||
const fields = 'fields' in collection ? collection.fields ?? [] : undefined;
|
||||
let field;
|
||||
|
||||
// If collection has no fields or fieldName is not defined within inferables list, return null
|
||||
|
Loading…
x
Reference in New Issue
Block a user