summaryrefslogtreecommitdiff
path: root/src/pages/my
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-04 17:02:17 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-04 17:02:17 +0700
commit7dd2b66958fbe63c1fa68a9c3fb5eab7ee389342 (patch)
treedf919cfcc82cff049e4c0155281d4056e69dea43 /src/pages/my
parent5187f40005dd2e391ae601c11886b539dffe4dd7 (diff)
<iman> munculin company profile
Diffstat (limited to 'src/pages/my')
-rw-r--r--src/pages/my/profile.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/my/profile.jsx b/src/pages/my/profile.jsx
index 54e9024a..859b6960 100644
--- a/src/pages/my/profile.jsx
+++ b/src/pages/my/profile.jsx
@@ -98,7 +98,7 @@ export default function Profile() {
)} */}
<PersonalProfile />
<Divider />
- {auth?.parentId && <CompanyProfile />}
+ {(auth?.parentId || auth?.company) && <CompanyProfile />}
</AppLayout>
</MobileView>
@@ -136,7 +136,7 @@ export default function Profile() {
)} */}
<PersonalProfile />
<Divider />
- {auth?.parentId && <CompanyProfile />}
+ {(auth?.parentId || auth?.company) && <CompanyProfile />}
</div>
</div>
</BasicLayout>