more
This commit is contained in:
@@ -276,7 +276,7 @@ export const DocCard = (props) => {
|
||||
createdAt,
|
||||
} = props;
|
||||
const now = new Date().getTime();
|
||||
const uploadedAt = createdAt.toDate();
|
||||
const uploadedAt = createdAt ? createdAt.toDate() : new Date().getTime();
|
||||
const isReportable = Math.round((now - uploadedAt) / 60 / 1000) > 15;
|
||||
const disabled = docType ? false : true;
|
||||
const tooltipText =
|
||||
|
||||
Reference in New Issue
Block a user