change(ui) - fetch details modal refactor and added prev and next navigation
This commit is contained in:
parent
39ddd3d82a
commit
12b9365600
1 changed files with 2 additions and 2 deletions
|
|
@ -7,11 +7,11 @@ import FetchTabs from './components/FetchTabs/FetchTabs';
|
|||
|
||||
interface Props {
|
||||
resource: any;
|
||||
rows: any;
|
||||
rows?: any;
|
||||
fetchPresented?: boolean;
|
||||
}
|
||||
function FetchDetailsModal(props: Props) {
|
||||
const { rows, fetchPresented = false } = props;
|
||||
const { rows = [], fetchPresented = false } = props;
|
||||
const [resource, setResource] = useState(props.resource);
|
||||
const [first, setFirst] = useState(false);
|
||||
const [last, setLast] = useState(false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue