summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-02 10:43:05 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-02 10:43:05 +0700
commit4745baa6981423d9a7c2311370ad7c853c33de7b (patch)
tree37b0091f706e9de514085456b228321e78b0408a /src/core
parent51b7b4cd945f78ebeabdbfcd4842c9ea83cb3efc (diff)
<iman> update bug
Diffstat (limited to 'src/core')
-rw-r--r--src/core/components/elements/Navbar/NavbarUserDropdown.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
index d19cf11d..83407bfd 100644
--- a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
+++ b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
@@ -22,8 +22,9 @@ const NavbarUserDropdown = () => {
<Link href='/my/shipments'>Daftar Pengiriman</Link>
<Link href='/my/invoices'>Invoice & Faktur Pajak</Link>
{atuh &&
- (atuh.partnerTempo?.toLowerCase().includes('tempo') ||
- atuh.tempoProgres === 'review') && (
+ (atuh.partnerTempo
+ ? atuh.partnerTempo?.toLowerCase().includes('tempo')
+ : '' || atuh.tempoProgres === 'review') && (
<Link href='/my/tempo'>Pembayaran Tempo</Link>
)}