一个笔误误
This commit is contained in:
parent
042fa51de9
commit
9b10f99d1b
|
|
@ -18,7 +18,7 @@ export const TableContext = createContext({
|
||||||
});
|
});
|
||||||
const ProList = (props) => {
|
const ProList = (props) => {
|
||||||
const { buttonGroup, entity, extraActions, onAction, disabledOp, attributes, data, loading, tablePagination, rowSelection, onReload, disableSerialNumber, title, hideDefaultButtons = false, extraContent, size = 'large', scroll, locale, opWidth, oakPath, } = props;
|
const { buttonGroup, entity, extraActions, onAction, disabledOp, attributes, data, loading, tablePagination, rowSelection, onReload, disableSerialNumber, title, hideDefaultButtons = false, extraContent, size = 'large', scroll, locale, opWidth, oakPath, } = props;
|
||||||
assert(tablePagination);
|
assert(!tablePagination);
|
||||||
const [tableAttributes, setTableAttributes] = useState([]);
|
const [tableAttributes, setTableAttributes] = useState([]);
|
||||||
const features = useFeatures();
|
const features = useFeatures();
|
||||||
// const pagination = oakPath && features.runningTree.getPagination(oakPath);
|
// const pagination = oakPath && features.runningTree.getPagination(oakPath);
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ const ProList = <ED2 extends ED, T extends keyof ED2>(props: Props<ED2, T>) => {
|
||||||
opWidth,
|
opWidth,
|
||||||
oakPath,
|
oakPath,
|
||||||
} = props;
|
} = props;
|
||||||
assert(tablePagination);
|
assert(!tablePagination);
|
||||||
const [tableAttributes, setTableAttributes] = useState<
|
const [tableAttributes, setTableAttributes] = useState<
|
||||||
TableAttributeType[]
|
TableAttributeType[]
|
||||||
>([]);
|
>([]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue