summaryrefslogtreecommitdiff
path: root/src/lib/tempo/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tempo/components')
-rw-r--r--src/lib/tempo/components/Tempo.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/tempo/components/Tempo.jsx b/src/lib/tempo/components/Tempo.jsx
index 33c5bae6..dc8307c8 100644
--- a/src/lib/tempo/components/Tempo.jsx
+++ b/src/lib/tempo/components/Tempo.jsx
@@ -175,8 +175,7 @@ const Tempo = () => {
{getLabel()}
</span>
</div>
- {!invoices?.data?.invoices ||
- invoices?.data?.invoices?.length == 0 ? (
+ {tempo.length > 0 && !tempo.paymentTerm ? (
<div className='flex justify-center'>
<Image
src='/images/ICON-DOKUMEN-VERIFIKASI.png'