Loading Room Chat
# feat - Loading otomastis scroll chat ## No Isuuee
This commit is contained in:
@@ -59,11 +59,9 @@ export default function ComponentColab_DetailData({
|
||||
</Stack>
|
||||
<Stack spacing={5}>
|
||||
<Text fw={"bold"} fz={"sm"}>
|
||||
Keutungan
|
||||
</Text>
|
||||
<Text fz={"sm"}>
|
||||
{data?.benefit ? data?.benefit : "-"}
|
||||
Keuntungan
|
||||
</Text>
|
||||
<Text fz={"sm"}>{data?.benefit ? data?.benefit : "-"}</Text>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
|
||||
@@ -21,6 +21,7 @@ import { ComponentGlobal_NotifikasiPeringatan } from "@/app_modules/component_gl
|
||||
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
||||
import { IconEyeCheck, IconZoomCheck } from "@tabler/icons-react";
|
||||
import { useDisclosure } from "@mantine/hooks";
|
||||
import { IconFileCheck } from "@tabler/icons-react";
|
||||
|
||||
export default function ComponentColab_AuthorNameOnListPartisipan({
|
||||
author,
|
||||
@@ -95,7 +96,7 @@ export default function ComponentColab_AuthorNameOnListPartisipan({
|
||||
radius={"xl"}
|
||||
variant="transparent"
|
||||
>
|
||||
<IconZoomCheck />
|
||||
<IconFileCheck color={opened ? "blue" : "gray"}/>
|
||||
</ActionIcon>
|
||||
) : (
|
||||
""
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
import _ from "lodash";
|
||||
import { useState } from "react";
|
||||
import colab_funCreatePartisipan from "../../fun/create/fun_create_partisipan_by_user_id";
|
||||
import colab_getListPartisipanById from "../../fun/get/get_list_partisipan_by_id";
|
||||
import colab_getListPartisipanByColabId from "../../fun/get/get_list_partisipan_by_id";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/component_global/notif_global/notifikasi_berhasil";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/component_global/notif_global/notifikasi_gagal";
|
||||
import { useDisclosure } from "@mantine/hooks";
|
||||
@@ -53,7 +53,7 @@ export default function ComponentColab_DetailListPartisipasiUser({
|
||||
deskripsi
|
||||
).then(async (res) => {
|
||||
if (res.status === 201) {
|
||||
await colab_getListPartisipanById(colabId as any).then((val) => {
|
||||
await colab_getListPartisipanByColabId(colabId as any).then((val) => {
|
||||
setApply(true);
|
||||
close();
|
||||
setData(val as any);
|
||||
|
||||
Reference in New Issue
Block a user