upd: fiksasi
Deskripsi: -tampilan No Issues
This commit is contained in:
@@ -252,7 +252,7 @@ export default function DetailAnnouncement() {
|
||||
{dataFile.map((item, index) => (
|
||||
<BorderBottomItem
|
||||
key={`${item.id}-${index}`}
|
||||
borderType="bottom"
|
||||
borderType={index === dataFile.length - 1 ? 'none' : 'bottom'}
|
||||
icon={<MaterialCommunityIcons
|
||||
name={isImageFile(item.extension) ? "file-image-outline" : "file-document-outline"}
|
||||
size={25}
|
||||
|
||||
@@ -78,7 +78,6 @@ export default function CreateAnnouncement() {
|
||||
async function handleCreate() {
|
||||
try {
|
||||
setLoading(true)
|
||||
console.log('jalan')
|
||||
const hasil = await decryptToken(String(token?.current))
|
||||
const fd = new FormData()
|
||||
|
||||
@@ -91,7 +90,7 @@ export default function CreateAnnouncement() {
|
||||
}
|
||||
|
||||
fd.append("data", JSON.stringify(
|
||||
{ user: 'apaya', groups: divisionMember, ...dataForm }
|
||||
{ user: hasil, groups: divisionMember, ...dataForm }
|
||||
))
|
||||
|
||||
const response = await apiCreateAnnouncement(fd)
|
||||
|
||||
@@ -241,7 +241,6 @@ export default function ListDivision() {
|
||||
</View>
|
||||
}
|
||||
title={item.name}
|
||||
titleWeight="normal"
|
||||
/>
|
||||
)
|
||||
}}
|
||||
|
||||
@@ -319,6 +319,7 @@ export default function ListProject() {
|
||||
content="page"
|
||||
title={item.title}
|
||||
headerColor="primary"
|
||||
titleTail={2}
|
||||
>
|
||||
<ProgressBar value={item.progress} category="list" />
|
||||
<View style={[Styles.rowSpaceBetween]}>
|
||||
|
||||
Reference in New Issue
Block a user