Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
refactor: disable unfinished features
Browse files Browse the repository at this point in the history
  • Loading branch information
yehezkieldio committed Feb 15, 2024
1 parent d4dc359 commit ec6ca6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/app/src/components/complain-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ const ComplainTabs: React.FC = () => {
<Icons.tambahakanLaporan strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">{t("tabs.laporkan")}</IonLabel>
</IonTabButton>
<IonTabButton tab="riwayatTabs" href="/complain/tabs/form/report-history">
{/* <IonTabButton tab="riwayatTabs" href="/complain/tabs/form/report-history">
<Icons.riwayatLaporan strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">{t("tabs.riwayat")}</IonLabel>
</IonTabButton>
</IonTabButton> */}
</IonTabBar>
</IonTabs>
);
Expand Down
7 changes: 4 additions & 3 deletions apps/app/src/components/operator-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ const OperatorTabs: React.FC = () => {
<Icons.dashboard strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Dashboard</IonLabel>
</IonTabButton>
<IonTabButton tab="trashbinTab" href="/trash-bin/tabs/trashbin">
<IonTabButton tab="trashbinTab" href="/trash-bin/tabs/report-action">
{/* <IonTabButton tab="trashbinTab" href="/trash-bin/tabs/trashbin"> */}
<Icons.trash strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Trashbin</IonLabel>
</IonTabButton>
{isAdmin && (
{/* {isAdmin && (
<IonTabButton tab="userOperatorTab" href="/operator/tabs/user">
<Icons.user strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">User</IonLabel>
</IonTabButton>
)}
)} */}
</IonTabBar>
</IonTabs>
);
Expand Down
4 changes: 2 additions & 2 deletions apps/app/src/components/trashbin-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ const TrashbinTabs: React.FC = () => {
<Icons.back strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">{t("tabs.back")}</IonLabel>
</IonTabButton>
<IonTabButton tab="trashbinTabs" href="/trash-bin/tabs/trashbin">
{/* <IonTabButton tab="trashbinTabs" href="/trash-bin/tabs/trashbin">
<Icons.trash strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Trashbin</IonLabel>
</IonTabButton>
</IonTabButton> */}
{/* <IonTabButton tab="subTrashbinTabs" href="/trash-bin/tabs/sub-trashbin">
<Icons.subTrashbin strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Sub Trashbin</IonLabel>
Expand Down

0 comments on commit ec6ca6a

Please sign in to comment.