Update Versi 1.5.27 #32
@@ -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.62](https://github.com/bipproduction/hipmi/compare/v1.2.61...v1.2.62) (2025-02-25)
|
||||
|
||||
## [1.2.61](https://github.com/bipproduction/hipmi/compare/v1.2.60...v1.2.61) (2025-02-25)
|
||||
|
||||
## [1.2.60](https://github.com/bipproduction/hipmi/compare/v1.2.59...v1.2.60) (2025-02-25)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hipmi",
|
||||
"version": "1.2.61",
|
||||
"version": "1.2.62",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"prisma": {
|
||||
|
||||
16
src/app/api/version/route.ts
Normal file
16
src/app/api/version/route.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import packageVersion from "../../../../package.json";
|
||||
|
||||
export async function GET(request: Request) {
|
||||
|
||||
const version = packageVersion.version
|
||||
|
||||
return NextResponse.json(
|
||||
{
|
||||
success: true,
|
||||
message: "Success get version",
|
||||
data: version,
|
||||
},
|
||||
{ status: 200 }
|
||||
);
|
||||
}
|
||||
@@ -81,7 +81,7 @@ export default function HomeViewNew() {
|
||||
<UIGlobal_LayoutHeaderTamplate
|
||||
title="HIPMI"
|
||||
customButtonLeft={
|
||||
!dataUser && !countNtf ? (
|
||||
!dataUser || !countNtf ? (
|
||||
<ActionIcon radius={"xl"} variant={"transparent"}>
|
||||
<IconUserSearch color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
@@ -108,7 +108,7 @@ export default function HomeViewNew() {
|
||||
)
|
||||
}
|
||||
customButtonRight={
|
||||
!dataUser && !countNtf ? (
|
||||
!dataUser || !countNtf ? (
|
||||
<ActionIcon radius={"xl"} variant={"transparent"}>
|
||||
<IconBell color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
|
||||
@@ -118,15 +118,18 @@ export default function ComponentPortofolio_ButtonMoreNew({
|
||||
|
||||
return (
|
||||
<>
|
||||
{userLoginId === authorId ? (
|
||||
<ActionIcon variant="transparent" onClick={() => setOpenDrawer(true)}>
|
||||
<IconDotsVertical color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
) : (
|
||||
<ActionIcon disabled variant="transparent">
|
||||
<CustomSkeleton h={20} w={20} radius={"100%"} />
|
||||
</ActionIcon>
|
||||
)}
|
||||
{
|
||||
userLoginId === authorId && (
|
||||
<ActionIcon variant="transparent" onClick={() => setOpenDrawer(true)}>
|
||||
<IconDotsVertical color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
)
|
||||
// : (
|
||||
// <ActionIcon disabled variant="transparent">
|
||||
// <CustomSkeleton h={20} w={20} radius={"100%"} />
|
||||
// </ActionIcon>
|
||||
// )
|
||||
}
|
||||
|
||||
<UIGlobal_Drawer
|
||||
opened={openDrawer}
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
>Scan QrCode dan join melalui halaman konfirmasi</label
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <li>
|
||||
<input type="checkbox" id="buat-event-hari-ini" />
|
||||
<label for="buat-event-hari-ini"
|
||||
>Buat event baru (tanggal dan jam hari ini)</label
|
||||
@@ -232,7 +232,7 @@
|
||||
<label for="scan-qr-konfirmasi"
|
||||
>Scan QrCode dan join melalui halaman konfirmasi</label
|
||||
>
|
||||
</li>
|
||||
</li> -->
|
||||
<li>
|
||||
<input type="checkbox" id="cek-kontribusi-user" />
|
||||
<label for="cek-kontribusi-user">Cek kontribusi user</label>
|
||||
|
||||
Reference in New Issue
Block a user