fix: unexpected view button of signers for signyourself document in report

This commit is contained in:
RaktimaNXG
2024-09-04 15:41:25 +05:30
parent cbb737f96b
commit 9ac487ea5b
2 changed files with 3 additions and 1 deletions
@@ -1246,7 +1246,7 @@ const ReportTable = (props) => {
{formatRow(item?.ExtUserPtr)}
</td>
<td className="px-4 py-2">
{item?.Placeholders ? (
{!item?.IsSignyourself && item?.Placeholders ? (
<button
onClick={() => handleViewSigners(item)}
className="op-link op-link-primary"
@@ -28,6 +28,7 @@ export default function reportJson(id, userId) {
'Signers.Email',
'Signers.Phone',
'Placeholders',
'IsSignyourself',
],
};
@@ -137,6 +138,7 @@ export default function reportJson(id, userId) {
'Signers.Phone',
'TimeToCompleteDays',
'Placeholders',
'IsSignyourself',
],
};
// declined documents report