|
@@ -2,10 +2,13 @@ import React from "react";
|
|
|
import { Grow } from '@mui/material';
|
|
import { Grow } from '@mui/material';
|
|
|
import { Col } from 'react-bootstrap'
|
|
import { Col } from 'react-bootstrap'
|
|
|
import { PuestoCard } from './Card';
|
|
import { PuestoCard } from './Card';
|
|
|
|
|
+import {SinPuestos} from './SinPuestos'
|
|
|
|
|
|
|
|
export function GridMode(props) {
|
|
export function GridMode(props) {
|
|
|
|
|
|
|
|
- let { data, index, showing, toggle } = props;
|
|
|
|
|
|
|
+ let { data, index, showing, toggle, new_puesto } = props;
|
|
|
|
|
+
|
|
|
|
|
+ console.log(data)
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
@@ -21,7 +24,7 @@ export function GridMode(props) {
|
|
|
</Col>
|
|
</Col>
|
|
|
</Grow>
|
|
</Grow>
|
|
|
)
|
|
)
|
|
|
- }) : <div></div>
|
|
|
|
|
|
|
+ }) : <SinPuestos toggle={new_puesto}/>
|
|
|
}
|
|
}
|
|
|
</React.Fragment>
|
|
</React.Fragment>
|
|
|
)
|
|
)
|