Collaboration
Add: - (user)/collaboration/[id]/select-of-participants Fix: - Integrasi ke api di bagian beranda , partisipan dan group ### No Issue
This commit is contained in:
@@ -28,7 +28,7 @@ function Collaboration_BoxPublishSection({
|
||||
/>
|
||||
|
||||
<StackCustom>
|
||||
<TextCustom truncate={2} size="large" bold align="center">
|
||||
<TextCustom truncate size="large" bold align="center">
|
||||
{data?.title || "-"}
|
||||
</TextCustom>
|
||||
<TextCustom truncate={2}>{data?.purpose || "-"}</TextCustom>
|
||||
|
||||
@@ -15,10 +15,12 @@ export default function Collaboration_ProjectMainSelectedSection({
|
||||
selected,
|
||||
setSelected,
|
||||
setOpenDrawerParticipant,
|
||||
listData,
|
||||
}: {
|
||||
selected: (string | number)[];
|
||||
setSelected: (value: (string | number)[]) => void;
|
||||
setOpenDrawerParticipant: (value: boolean) => void;
|
||||
listData: any[];
|
||||
}) {
|
||||
return (
|
||||
<BaseBox style={{ height: 500 }}>
|
||||
@@ -31,7 +33,7 @@ export default function Collaboration_ProjectMainSelectedSection({
|
||||
</TextCustom>
|
||||
|
||||
<CheckboxGroup value={selected} onChange={setSelected}>
|
||||
{Array.from({ length: 5 }).map((_, index) => (
|
||||
{listData?.map((item: any, index: any) => (
|
||||
<View key={index}>
|
||||
<Grid key={index}>
|
||||
<Grid.Col
|
||||
|
||||
Reference in New Issue
Block a user