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:
2025-09-23 17:41:03 +08:00
parent 821a211f58
commit 99f058a92f
16 changed files with 905 additions and 190 deletions

View File

@@ -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>

View File

@@ -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