Merge pull request 'upd : typo kata' (#52) from amalia/29-sept-25 into join
Reviewed-on: bip/sistem-desa-mandiri#52
This commit is contained in:
@@ -184,7 +184,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'announcement',
|
category: 'announcement',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Pengumuman Baru',
|
title: 'Pengumuman Baru',
|
||||||
desc: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.'
|
desc: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberNotif.map((v: any) => ({
|
const dataPush = memberNotif.map((v: any) => ({
|
||||||
@@ -217,7 +217,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'announcement',
|
category: 'announcement',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Pengumuman Baru',
|
title: 'Pengumuman Baru',
|
||||||
desc: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.'
|
desc: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -229,7 +229,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Pengumuman Baru', body: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Pengumuman Baru', body: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotif
|
data: dataNotif
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'discussion',
|
category: 'discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Umum Baru',
|
title: 'Diskusi Umum Baru',
|
||||||
desc: 'Terdapat diskusi umum baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi umum baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
if (userRoleLogin != "supadmin") {
|
if (userRoleLogin != "supadmin") {
|
||||||
@@ -173,7 +173,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'discussion',
|
category: 'discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Umum Baru',
|
title: 'Diskusi Umum Baru',
|
||||||
desc: 'Terdapat diskusi umum baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi umum baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberDivision.map((v: any) => ({
|
const dataPush = memberDivision.map((v: any) => ({
|
||||||
@@ -189,7 +189,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -221,7 +221,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -232,7 +232,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat diskusi baru. Silahkan periksa detailnya.', title: 'Diskusi Baru' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat diskusi baru. Silakan periksa detailnya.', title: 'Diskusi Baru' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotif
|
data: dataNotif
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const selectUser = await prisma.divisionMember.findMany({
|
const selectUser = await prisma.divisionMember.findMany({
|
||||||
@@ -225,7 +225,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -262,7 +262,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const omitPush = atasanGroup.map((v: any) => ({
|
const omitPush = atasanGroup.map((v: any) => ({
|
||||||
@@ -279,7 +279,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Divisi Baru', body: 'Terdapat divisi baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Divisi Baru', body: 'Terdapat divisi baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotif
|
data: dataNotif
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'announcement',
|
category: 'announcement',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Pengumuman Baru',
|
title: 'Pengumuman Baru',
|
||||||
desc: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.'
|
desc: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
||||||
@@ -244,7 +244,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'announcement',
|
category: 'announcement',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Pengumuman Baru',
|
title: 'Pengumuman Baru',
|
||||||
desc: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.'
|
desc: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -258,7 +258,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Pengumuman Baru', body: 'Anda memiliki pengumuman baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Pengumuman Baru', body: 'Anda memiliki pengumuman baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotifFilter
|
data: dataNotifFilter
|
||||||
})
|
})
|
||||||
@@ -267,7 +267,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Pengumuman Baru",
|
title: "Pengumuman Baru",
|
||||||
body: "Anda memiliki pengumuman baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki pengumuman baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: "announcement", content: data.id }
|
data: { id: data.id, category: "announcement", content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'discussion',
|
category: 'discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Umum Baru',
|
title: 'Diskusi Umum Baru',
|
||||||
desc: 'Terdapat diskusi umum baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi umum baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
if (userRoleLogin != "supadmin") {
|
if (userRoleLogin != "supadmin") {
|
||||||
@@ -205,7 +205,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'discussion',
|
category: 'discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Umum Baru',
|
title: 'Diskusi Umum Baru',
|
||||||
desc: 'Terdapat diskusi umum baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi umum baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Diskusi Umum Baru",
|
title: "Diskusi Umum Baru",
|
||||||
body: "Anda memiliki diskusi umum baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki diskusi umum baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: "discussion", content: data.id }
|
data: { id: data.id, category: "discussion", content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberDivision.map((v: any) => ({
|
const dataPush = memberDivision.map((v: any) => ({
|
||||||
@@ -212,7 +212,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -251,7 +251,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/discussion',
|
category: 'division/' + idDivision + '/discussion',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Diskusi Baru',
|
title: 'Diskusi Baru',
|
||||||
desc: 'Terdapat diskusi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat diskusi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -264,7 +264,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat diskusi baru. Silahkan periksa detailnya.', title: 'Diskusi Baru' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat diskusi baru. Silakan periksa detailnya.', title: 'Diskusi Baru' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotifFilter
|
data: dataNotifFilter
|
||||||
})
|
})
|
||||||
@@ -274,7 +274,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Diskusi Baru",
|
title: "Diskusi Baru",
|
||||||
body: "Anda memiliki diskusi baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki diskusi baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: "division/" + idDivision + "/discussion", content: data.id }
|
data: { id: data.id, category: "division/" + idDivision + "/discussion", content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const selectUser = await prisma.divisionMember.findMany({
|
const selectUser = await prisma.divisionMember.findMany({
|
||||||
@@ -252,7 +252,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -299,7 +299,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division',
|
category: 'division',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Divisi Baru',
|
title: 'Divisi Baru',
|
||||||
desc: 'Terdapat divisi baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat divisi baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const omitPush = atasanGroup.map((v: any) => ({
|
const omitPush = atasanGroup.map((v: any) => ({
|
||||||
@@ -317,7 +317,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Divisi Baru', body: 'Terdapat divisi baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Divisi Baru', body: 'Terdapat divisi baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotifFilter
|
data: dataNotifFilter
|
||||||
})
|
})
|
||||||
@@ -326,7 +326,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Divisi Baru",
|
title: "Divisi Baru",
|
||||||
body: "Anda memiliki divisi baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki divisi baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: "division", content: data.id }
|
data: { id: data.id, category: "division", content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberNotif.map((v: any) => ({
|
const dataPush = memberNotif.map((v: any) => ({
|
||||||
@@ -323,7 +323,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -370,7 +370,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const omitPush = atasanGroup.map((v: any) => ({
|
const omitPush = atasanGroup.map((v: any) => ({
|
||||||
@@ -387,7 +387,7 @@ export async function POST(request: Request) {
|
|||||||
const dataNotifFilter = dataNotif.filter((item) => item.idUserTo != undefined && item.idUserTo != null && item.idUserTo != "" && item.idUserTo != userId)
|
const dataNotifFilter = dataNotif.filter((item) => item.idUserTo != undefined && item.idUserTo != null && item.idUserTo != "" && item.idUserTo != userId)
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Kegiatan Baru', body: 'Terdapat kegiatan baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Kegiatan Baru', body: 'Terdapat kegiatan baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotifFilter
|
data: dataNotifFilter
|
||||||
})
|
})
|
||||||
@@ -396,7 +396,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Kegiatan Baru",
|
title: "Kegiatan Baru",
|
||||||
body: "Anda memiliki kegiatan baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki kegiatan baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: "project", content: data.id }
|
data: { id: data.id, category: "project", content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberDivision.map((v: any) => ({
|
const dataPush = memberDivision.map((v: any) => ({
|
||||||
@@ -307,7 +307,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -346,7 +346,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -358,7 +358,7 @@ export async function POST(request: Request) {
|
|||||||
const dataNotifFilter = dataNotif.filter((v: any) => v.idUserTo != undefined && v.idUserTo != null && v.idUserTo != "" && v.idUserTo != userId)
|
const dataNotifFilter = dataNotif.filter((v: any) => v.idUserTo != undefined && v.idUserTo != null && v.idUserTo != "" && v.idUserTo != userId)
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat tugas baru. Silahkan periksa detailnya.', title: 'Tugas Baru' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat tugas baru. Silakan periksa detailnya.', title: 'Tugas Baru' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotifFilter
|
data: dataNotifFilter
|
||||||
})
|
})
|
||||||
@@ -367,7 +367,7 @@ export async function POST(request: Request) {
|
|||||||
await sendFCMNotificationMany({
|
await sendFCMNotificationMany({
|
||||||
token: tokenUnique,
|
token: tokenUnique,
|
||||||
title: "Tugas Baru",
|
title: "Tugas Baru",
|
||||||
body: "Anda memiliki tugas baru. Silahkan periksa detailnya.",
|
body: "Anda memiliki tugas baru. Silakan periksa detailnya.",
|
||||||
data: { id: data.id, category: 'division/' + idDivision + '/task', content: data.id }
|
data: { id: data.id, category: 'division/' + idDivision + '/task', content: data.id }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberNotif.map((v: any) => ({
|
const dataPush = memberNotif.map((v: any) => ({
|
||||||
@@ -294,7 +294,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -330,7 +330,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'project',
|
category: 'project',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Kegiatan Baru',
|
title: 'Kegiatan Baru',
|
||||||
desc: 'Terdapat kegiatan baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat kegiatan baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const omitPush = atasanGroup.map((v: any) => ({
|
const omitPush = atasanGroup.map((v: any) => ({
|
||||||
@@ -346,7 +346,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Kegiatan Baru', body: 'Terdapat kegiatan baru. Silahkan periksa detailnya.' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { title: 'Kegiatan Baru', body: 'Terdapat kegiatan baru. Silakan periksa detailnya.' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotif
|
data: dataNotif
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const dataPush = memberDivision.map((v: any) => ({
|
const dataPush = memberDivision.map((v: any) => ({
|
||||||
@@ -286,7 +286,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -318,7 +318,7 @@ export async function POST(request: Request) {
|
|||||||
category: 'division/' + idDivision + '/task',
|
category: 'division/' + idDivision + '/task',
|
||||||
idContent: data.id,
|
idContent: data.id,
|
||||||
title: 'Tugas Baru',
|
title: 'Tugas Baru',
|
||||||
desc: 'Terdapat tugas baru. Silahkan periksa detailnya.'
|
desc: 'Terdapat tugas baru. Silakan periksa detailnya.'
|
||||||
})
|
})
|
||||||
|
|
||||||
dataPush.push({
|
dataPush.push({
|
||||||
@@ -329,7 +329,7 @@ export async function POST(request: Request) {
|
|||||||
|
|
||||||
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
const pushNotif = dataPush.filter((item) => item.subscription != undefined)
|
||||||
|
|
||||||
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat tugas baru. Silahkan periksa detailnya.', title: 'Tugas Baru' } })
|
const sendWebPush = await funSendWebPush({ sub: pushNotif, message: { body: 'Terdapat tugas baru. Silakan periksa detailnya.', title: 'Tugas Baru' } })
|
||||||
const insertNotif = await prisma.notifications.createMany({
|
const insertNotif = await prisma.notifications.createMany({
|
||||||
data: dataNotif
|
data: dataNotif
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ export const funGetAnnouncementById = async (path: string) => {
|
|||||||
|
|
||||||
export const funCreateAnnouncement = async (data: IFormCreateAnnouncement) => {
|
export const funCreateAnnouncement = async (data: IFormCreateAnnouncement) => {
|
||||||
if (data.title == "" || data.desc == "")
|
if (data.title == "" || data.desc == "")
|
||||||
return { success: false, message: 'Silahkan lengkapi form tambah pengumuman' }
|
return { success: false, message: 'Silakan lengkapi form tambah pengumuman' }
|
||||||
|
|
||||||
if (data.groups.length == 0)
|
if (data.groups.length == 0)
|
||||||
return { success: false, message: 'Silahkan pilih divisi penerima pengumuman' }
|
return { success: false, message: 'Silakan pilih divisi penerima pengumuman' }
|
||||||
|
|
||||||
const response = await fetch("/api/announcement", {
|
const response = await fetch("/api/announcement", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
@@ -39,10 +39,10 @@ export const funDeleteAnnouncement = async (path: string) => {
|
|||||||
|
|
||||||
export const funEditAnnouncement = async (path: string, data: IFormCreateAnnouncement) => {
|
export const funEditAnnouncement = async (path: string, data: IFormCreateAnnouncement) => {
|
||||||
if (data.title == "" || data.desc == "")
|
if (data.title == "" || data.desc == "")
|
||||||
return { success: false, message: 'Silahkan lengkapi form edit pengumuman' }
|
return { success: false, message: 'Silakan lengkapi form edit pengumuman' }
|
||||||
|
|
||||||
if (data.groups.length == 0)
|
if (data.groups.length == 0)
|
||||||
return { success: false, message: 'Silahkan pilih divisi penerima pengumuman' }
|
return { success: false, message: 'Silakan pilih divisi penerima pengumuman' }
|
||||||
|
|
||||||
const response = await fetch(`/api/announcement/${path}`, {
|
const response = await fetch(`/api/announcement/${path}`, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export default function CreateAnnouncement() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (memberValue.length == 0)
|
if (memberValue.length == 0)
|
||||||
return toast.error("Error! silahkan pilih divisi")
|
return toast.error("Error! Silakan pilih divisi")
|
||||||
|
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
}, 500)
|
}, 500)
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ function CreateBanner() {
|
|||||||
<Box mt={10}>
|
<Box mt={10}>
|
||||||
{touched.image && !imgForm && (
|
{touched.image && !imgForm && (
|
||||||
<Text size='sm' c={'red'}>
|
<Text size='sm' c={'red'}>
|
||||||
Silahkan Pilih Gambar
|
Silakan Pilih Gambar
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export default function CreateCalenderDivisionCaleder() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (memberValue.length == 0)
|
if (memberValue.length == 0)
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
|
|
||||||
setModal(true)
|
setModal(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export default function CreateUserCalender({ onClose }: { onClose: (val: any) =>
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ export default function CreateUserDetailCalender() {
|
|||||||
async function onSubmit() {
|
async function onSubmit() {
|
||||||
try {
|
try {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
setLoadingSubmit(true)
|
setLoadingSubmit(true)
|
||||||
const res = await funAddMemberCalender(String(isDataCalender?.idCalendar), selectedFiles)
|
const res = await funAddMemberCalender(String(isDataCalender?.idCalendar), selectedFiles)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export default function UpdateDivisionCalender() {
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
toast.error("Terjadi kesalahan! Silahkan coba kembali");
|
toast.error("Terjadi kesalahan! Silakan coba kembali");
|
||||||
} finally {
|
} finally {
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
}
|
}
|
||||||
@@ -84,7 +84,7 @@ export default function UpdateDivisionCalender() {
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
toast.error("Terjadi kesalahan! Silahkan coba kembali");
|
toast.error("Terjadi kesalahan! Silakan coba kembali");
|
||||||
} finally {
|
} finally {
|
||||||
setModal(false)
|
setModal(false)
|
||||||
setLoadingModal(false)
|
setLoadingModal(false)
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export default function UpdateListUsers({ onClose }: { onClose: (val: any) => vo
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default function AddMemberDiscussionGeneral() {
|
|||||||
|
|
||||||
function onCheck() {
|
function onCheck() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function ChooseUsersDiscussion({ grup, onClose }: { grup?: string
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export default function FormCreateDiscussionGeneral() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (memberValue.length <= 1)
|
if (memberValue.length <= 1)
|
||||||
return toast.error("Error! Silahkan pilih anggota lebih dari 1")
|
return toast.error("Error! Silakan pilih anggota lebih dari 1")
|
||||||
|
|
||||||
setModal(true)
|
setModal(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default function CreateAnggotaDivision() {
|
|||||||
|
|
||||||
function onCheck() {
|
function onCheck() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,9 +51,9 @@ export default function CreateDivision() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (member.length == 0)
|
if (member.length == 0)
|
||||||
return toast.error("Error! Silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
// if (member.length <= 1)
|
// if (member.length <= 1)
|
||||||
// return toast.error("Error! Silahkan pilih anggota lebih dari 1")
|
// return toast.error("Error! Silakan pilih anggota lebih dari 1")
|
||||||
|
|
||||||
setChooseAdmin(true)
|
setChooseAdmin(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default function NavbarAdminDivision({ data, onSuccess }: { data: any, on
|
|||||||
|
|
||||||
async function onSubmit() {
|
async function onSubmit() {
|
||||||
if (value.length === 0) {
|
if (value.length === 0) {
|
||||||
return toast.error("Error! Silahkan pilih admin divisi")
|
return toast.error("Error! Silakan pilih admin divisi")
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export default function NavbarCreateUsers({ grup, onClose }: { grup?: string, on
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ export default function AddFileDetailProject() {
|
|||||||
if (fileForm.length > 0) {
|
if (fileForm.length > 0) {
|
||||||
setOpenModal(true)
|
setOpenModal(true)
|
||||||
} else {
|
} else {
|
||||||
toast.error("Silahkan pilih file yang akan diupload")
|
toast.error("Silakan pilih file yang akan diupload")
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
Simpan
|
Simpan
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export default function AddMemberDetailProject() {
|
|||||||
|
|
||||||
function onVerifikasi() {
|
function onVerifikasi() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
|
|
||||||
setOpenModal(true)
|
setOpenModal(true)
|
||||||
|
|||||||
@@ -142,10 +142,10 @@ export default function CreateProject() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (dataTask.length == 0)
|
if (dataTask.length == 0)
|
||||||
return toast.error("Error! silahkan tambahkan tugas")
|
return toast.error("Error! Silakan tambahkan tugas")
|
||||||
|
|
||||||
if (memberValue.length <= 1)
|
if (memberValue.length <= 1)
|
||||||
return toast.error("Error! Silahkan pilih anggota lebih dari 1")
|
return toast.error("Error! Silakan pilih anggota lebih dari 1")
|
||||||
|
|
||||||
setModal(true)
|
setModal(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function CreateUsersProject({ grup, onClose }: { grup?: string, o
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ export default function AddFileDetailTask() {
|
|||||||
if (fileForm.length > 0) {
|
if (fileForm.length > 0) {
|
||||||
setOpenModal(true)
|
setOpenModal(true)
|
||||||
} else {
|
} else {
|
||||||
toast.error("Silahkan pilih file yang akan diupload")
|
toast.error("Silakan pilih file yang akan diupload")
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
Simpan
|
Simpan
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ export default function AddMemberDetailTask() {
|
|||||||
|
|
||||||
function onVerifikasi() {
|
function onVerifikasi() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
|
|
||||||
setOpenModal(true)
|
setOpenModal(true)
|
||||||
|
|||||||
@@ -105,10 +105,10 @@ export default function CreateTask() {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
if (dataTask.length == 0)
|
if (dataTask.length == 0)
|
||||||
return toast.error("Error! silahkan tambahkan tugas")
|
return toast.error("Error! Silakan tambahkan tugas")
|
||||||
|
|
||||||
if (memberValue.length <= 1)
|
if (memberValue.length <= 1)
|
||||||
return toast.error("Error! silahkan pilih anggota lebih dari 1")
|
return toast.error("Error! Silakan pilih anggota lebih dari 1")
|
||||||
|
|
||||||
setOpenModal(true)
|
setOpenModal(true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export default function CreateUsersProject({ onClose }: { onClose: (val: any) =>
|
|||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selectedFiles.length == 0) {
|
if (selectedFiles.length == 0) {
|
||||||
return toast.error("Error! silahkan pilih anggota")
|
return toast.error("Error! Silakan pilih anggota")
|
||||||
}
|
}
|
||||||
member.set(selectedFiles)
|
member.set(selectedFiles)
|
||||||
onClose(true)
|
onClose(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user