fixed-admin/18-feb-26 #55

Merged
bagasbanuna merged 3 commits from fixed-admin/18-feb-26 into staging 2026-02-18 17:35:18 +08:00
41 changed files with 1441 additions and 1104 deletions
Showing only changes of commit f284e2ec02 - Show all commits

View File

@@ -77,14 +77,14 @@ export default function Application() {
);
}
if (data && data?.masterUserRoleId !== "1") {
console.log("User is not admin");
return (
<BasicWrapper>
<Redirect href={`/admin/dashboard`} />
</BasicWrapper>
);
}
// if (data && data?.masterUserRoleId !== "1") {
// console.log("User is not admin");
// return (
// <BasicWrapper>
// <Redirect href={`/admin/dashboard`} />
// </BasicWrapper>
// );
// }
return (
<>