Add gzipped download endpoint
This commit is contained in:
@@ -66,6 +66,7 @@ export class WorkItem extends React.Component {
|
||||
},
|
||||
photos: {
|
||||
isValid: (r, v) => v && v.length > 0,
|
||||
initValue: [],
|
||||
},
|
||||
details: {
|
||||
isValid: (r, v) => v !== "",
|
||||
@@ -278,6 +279,7 @@ export class WorkItem extends React.Component {
|
||||
height: 400,
|
||||
marginBottom: 10,
|
||||
}}
|
||||
showsUserLocation
|
||||
showsBuildings={false}
|
||||
showsTraffic={false}
|
||||
showsIndoors={false}
|
||||
|
||||
@@ -69,7 +69,7 @@ export const dotify = (s) => {
|
||||
export const regionContainingPoints = (points, inset) => {
|
||||
let minX, maxX, minY, maxY
|
||||
|
||||
if (!points) {
|
||||
if (!points || points.length === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user