Merge pull request #152 from bipproduction/event/qrcode

Fix version 1.2.14
This commit is contained in:
Bagasbanuna02
2024-12-03 10:57:33 +08:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
## [1.2.14](https://github.com/bipproduction/hipmi/compare/v1.2.13...v1.2.14) (2024-12-03)
## [1.2.13](https://github.com/bipproduction/hipmi/compare/v1.2.12...v1.2.13) (2024-12-03)

View File

@@ -1,6 +1,6 @@
{
"name": "hipmi",
"version": "1.2.13",
"version": "1.2.14",
"private": true,
"prisma": {
"seed": "npx tsx prisma/seed.ts --yes"

View File

@@ -18,8 +18,9 @@ export default async function PageHome() {
// if (dataUser?.active === false) {
// return redirect(RouterHome.home_user_non_active);
// }
// if (dataUser?.masterUserRoleId === "2" || dataUser?.masterUserRoleId === "3")
// return redirect(RouterAdminDashboard.main_admin);
if (dataUser?.masterUserRoleId === "2" || dataUser?.masterUserRoleId === "3")
return redirect(RouterAdminDashboard.main_admin);
return (
<>

View File

@@ -2,7 +2,7 @@
{
"name": "bagas_admin",
"nomor": "6282340374412",
"masterUserRoleId": "2"
"masterUserRoleId": "3"
},
{
"name": "fahmi_admin",