QC Investasi
# fix Tampilan admin investasi Tampilan admin donasi ## No issuee
This commit is contained in:
@@ -27,7 +27,7 @@ import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.share
|
||||
import { useRouter } from "next/navigation";
|
||||
import { useState } from "react";
|
||||
import { gs_event_hotMenu, gs_event_status } from "../global_state";
|
||||
import { MODEL_DEFAULT_MASTER } from "@/app_modules/model_global/interface";
|
||||
import { MODEL_DEFAULT_MASTER_OLD } from "@/app_modules/model_global/interface";
|
||||
import { Event_funCreate } from "../fun/create/fun_create";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/component_global/notif_global/notifikasi_gagal";
|
||||
import { kMaxLength } from "buffer";
|
||||
@@ -42,7 +42,7 @@ export default function Event_Create({
|
||||
listTipeAcara,
|
||||
authorId,
|
||||
}: {
|
||||
listTipeAcara: MODEL_DEFAULT_MASTER[];
|
||||
listTipeAcara: MODEL_DEFAULT_MASTER_OLD[];
|
||||
authorId: string;
|
||||
}) {
|
||||
const router = useRouter();
|
||||
|
||||
@@ -15,7 +15,7 @@ import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.share
|
||||
import { useRouter } from "next/navigation";
|
||||
import { MODEL_EVENT } from "../model/interface";
|
||||
import { useState } from "react";
|
||||
import { MODEL_DEFAULT_MASTER } from "@/app_modules/model_global/interface";
|
||||
import { MODEL_DEFAULT_MASTER_OLD } from "@/app_modules/model_global/interface";
|
||||
import { Event_funEditById } from "../fun/edit/fun_edit_by_id";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/component_global/notif_global/notifikasi_gagal";
|
||||
import moment from "moment";
|
||||
@@ -31,7 +31,7 @@ export default function Event_Edit({
|
||||
listTipeAcara,
|
||||
}: {
|
||||
dataEvent: MODEL_EVENT;
|
||||
listTipeAcara: MODEL_DEFAULT_MASTER[];
|
||||
listTipeAcara: MODEL_DEFAULT_MASTER_OLD[];
|
||||
}) {
|
||||
const router = useRouter();
|
||||
const [isLoading, setLoading] = useState(false);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
||||
import { MODEL_DEFAULT_MASTER } from "@/app_modules/model_global/interface";
|
||||
import { MODEL_DEFAULT_MASTER_OLD } from "@/app_modules/model_global/interface";
|
||||
|
||||
export interface MODEL_EVENT {
|
||||
id: string;
|
||||
@@ -14,9 +14,9 @@ export interface MODEL_EVENT {
|
||||
authorId: string;
|
||||
Author: MODEL_USER;
|
||||
eventMaster_StatusId: string;
|
||||
EventMaster_Status: MODEL_DEFAULT_MASTER;
|
||||
EventMaster_Status: MODEL_DEFAULT_MASTER_OLD;
|
||||
eventMaster_TipeAcaraId: number;
|
||||
EventMaster_TipeAcara: MODEL_DEFAULT_MASTER;
|
||||
EventMaster_TipeAcara: MODEL_DEFAULT_MASTER_OLD;
|
||||
Event_Peserta: MODEL_EVENT_PESERTA[];
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ export default function Event_SplashScreen() {
|
||||
router.replace(RouterEvent.beranda);
|
||||
setHotMenu(0);
|
||||
setTabsStatus("Publish");
|
||||
}, 2000);
|
||||
}, 1000);
|
||||
}, []);
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user