| | |
| | | import React, { useState, useRef, useEffect, useMemo } from "react"; |
| | | import { |
| | | ListGuesser, |
| | | EditGuesser, |
| | | ShowGuesser, |
| | | } from "react-admin"; |
| | | |
| | | import React from "react"; |
| | | import WaitPakinLogList from "./WaitPakinLogList"; |
| | | import WaitPakinLogEdit from "./WaitPakinLogEdit"; |
| | | import WaitPakinLogShow from "./WaitPakinLogShow"; |
| | | |
| | | export default { |
| | | list: WaitPakinLogList, |
| | | edit: WaitPakinLogEdit, |
| | | show: ShowGuesser, |
| | | show: WaitPakinLogShow, |
| | | recordRepresentation: (record) => { |
| | | return `${record.id}` |
| | | return record?.code != null ? record.code : `${record?.id ?? ''}`; |
| | | } |
| | | }; |