Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
18 lines
711 B
Plaintext
18 lines
711 B
Plaintext
import { jsx as _jsx } from "react/jsx-runtime";
|
|
import React from 'react';
|
|
import { FolderTableCellClient } from './index.client.js';
|
|
export const FolderTableCell = props => {
|
|
const titleToRender = (props.collectionConfig.upload ? props.rowData?.filename : props.rowData?.title) || props.rowData.id;
|
|
if (!props.payload.config.folders) {
|
|
return null;
|
|
}
|
|
return /*#__PURE__*/_jsx(FolderTableCellClient, {
|
|
collectionSlug: props.collectionSlug,
|
|
data: props.rowData,
|
|
docTitle: titleToRender,
|
|
folderCollectionSlug: props.payload.config.folders.slug,
|
|
folderFieldName: props.payload.config.folders.fieldName,
|
|
viewType: props.viewType
|
|
});
|
|
};
|
|
//# sourceMappingURL=index.server.js.map |