Merge pull request 'amalia/25-nov-25' (#38) from amalia/25-nov-25 into main
Reviewed-on: http://wibugit.wibudev.com/wibu/jenna-mcp/pulls/38
This commit is contained in:
@@ -263,9 +263,18 @@ function DetailDataPengaduan({ data, onAction }: { data: any, onAction: () => vo
|
|||||||
<IconPhotoScan size={20} />
|
<IconPhotoScan size={20} />
|
||||||
<Text size="md">Gambar</Text>
|
<Text size="md">Gambar</Text>
|
||||||
</Group>
|
</Group>
|
||||||
<Anchor href="#" onClick={() => { }}>
|
{
|
||||||
Lihat Gambar
|
data?.image != null && data?.image != ""
|
||||||
</Anchor>
|
?
|
||||||
|
<Anchor href="#" onClick={() => { }}>
|
||||||
|
Lihat Gambar
|
||||||
|
</Anchor>
|
||||||
|
:
|
||||||
|
<Text size="md" c="white">
|
||||||
|
-
|
||||||
|
</Text>
|
||||||
|
}
|
||||||
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Grid.Col>
|
</Grid.Col>
|
||||||
|
|||||||
@@ -149,7 +149,6 @@ const PengaduanRoute = new Elysia({
|
|||||||
},
|
},
|
||||||
update: {
|
update: {
|
||||||
name: namaWarga,
|
name: namaWarga,
|
||||||
phone: nomorHP,
|
|
||||||
},
|
},
|
||||||
select: {
|
select: {
|
||||||
id: true
|
id: true
|
||||||
@@ -517,8 +516,8 @@ const PengaduanRoute = new Elysia({
|
|||||||
folder: t.String(),
|
folder: t.String(),
|
||||||
}),
|
}),
|
||||||
detail: {
|
detail: {
|
||||||
summary: "Upload File",
|
summary: "Upload File (FormData)",
|
||||||
description: "Tool untuk upload file ke Seafile",
|
description: "Tool untuk upload file ke folder tujuan dengan memakai FormData",
|
||||||
tags: ["mcp"],
|
tags: ["mcp"],
|
||||||
consumes: ["multipart/form-data"]
|
consumes: ["multipart/form-data"]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user