-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add recently updated acopios by default #85
Conversation
…ry to fetch products
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este commit rompe /list
@@ -22,13 +22,13 @@ class AcopioCard extends Component { | |||
|
|||
const { | |||
nombre, | |||
products, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto no rompe las otras pantallas que usan este componente?
@@ -10,7 +10,7 @@ const Layout = ({ children, history }) => { | |||
<div> | |||
<AppBar | |||
style={{position: 'fixed', top: '0', backgroundColor: '#191E1B'}} | |||
title={appName} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
src/screens/Supply.js
Outdated
const { positionUnknown, positionUnavailable } = this.props | ||
console.log(acopios) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log extra
src/screens/Supply.js
Outdated
|
||
if (positionUnknown) { | ||
return <span>Permite tu ubicación</span> | ||
return ( | ||
this.getAcopiosList(title, isLoading, acopios) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
esto usa title antes de que se defina abajo
queda pendiente asegurar que la fechaDeActualizacion de acopios se actualize cuando un producto es añadido de parte del API