IO-760 Delete pictures in bulk & other minor fixes

This commit is contained in:
Patrick Fic
2021-03-12 10:52:05 -07:00
parent 09cc798951
commit a5ca1b61a3
11 changed files with 137 additions and 130 deletions

View File

@@ -1,4 +1,4 @@
import React, { useState, useMemo } from "react";
import React, { useMemo, useState } from "react";
import {
FlatList,
Image,
@@ -32,6 +32,8 @@ export default function JobDocumentsComponent({ job, loading, refetch }) {
[job.documents]
);
console.log("fullphotos", fullphotos);
return (
<View style={{ flex: 1 }}>
<FlatList
@@ -40,6 +42,7 @@ export default function JobDocumentsComponent({ job, loading, refetch }) {
}
data={job.documents}
numColumns={4}
style={{ flex: 1 }}
keyExtractor={(item) => item.id}
renderItem={(object) => (
<View