IO-760 Delete pictures in bulk & other minor fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user