upd: diskusi general

Deskripsi:
- ilangin size 100 pada foto profile user

- reason:: klo null tampil image error, sedangkan klo ga make size-100 tampil user icon

No Issues
This commit is contained in:
amel
2025-01-15 14:11:16 +08:00
parent afca934d4c
commit 772c58a1c2
3 changed files with 4 additions and 4 deletions

View File

@@ -184,7 +184,7 @@ export default function AddMemberDiscussionGeneral() {
<Indicator inline size={25} offset={7} position="bottom-end" color="red" withBorder label={<IoClose />}> <Indicator inline size={25} offset={7} position="bottom-end" color="red" withBorder label={<IoClose />}>
<Avatar style={{ <Avatar style={{
border: `2px solid ${tema.get().utama}` border: `2px solid ${tema.get().utama}`
}} src={`https://wibu-storage.wibudev.com/api/files/${v.img}-size-100`} alt="it's me" size="lg" /> }} src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} alt="it's me" size="lg" />
</Indicator> </Indicator>
</Center> </Center>
<Text ta={"center"} lineClamp={1}>{v.name}</Text> <Text ta={"center"} lineClamp={1}>{v.name}</Text>
@@ -233,7 +233,7 @@ export default function AddMemberDiscussionGeneral() {
xl: 1, xl: 1,
}} }}
> >
<Avatar src={`https://wibu-storage.wibudev.com/api/files/${v.img}-size-100`} alt="it's me" size="lg" /> <Avatar src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} alt="it's me" size="lg" />
</Grid.Col> </Grid.Col>
<Grid.Col <Grid.Col
span={{ span={{

View File

@@ -318,7 +318,7 @@ export default function DetailDiscussionGeneral() {
<Box key={i} p={10} > <Box key={i} p={10} >
<Grid align="center"> <Grid align="center">
<Grid.Col span={1}> <Grid.Col span={1}>
<Avatar alt="it's me" size="md" src={`https://wibu-storage.wibudev.com/api/files/${v.img}-size-100`} /> <Avatar alt="it's me" size="md" src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} />
</Grid.Col> </Grid.Col>
<Grid.Col span={8}> <Grid.Col span={8}>
<Box> <Box>

View File

@@ -122,7 +122,7 @@ export default function MemberDiscussionGeneral() {
onClick={() => { onClickMember(v.idUser, v.name) }} onClick={() => { onClickMember(v.idUser, v.name) }}
> >
<Grid.Col span={1}> <Grid.Col span={1}>
<Avatar src={`https://wibu-storage.wibudev.com/api/files/${v.img}-size-100`} alt="it's me" size={'lg'} /> <Avatar src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} alt="it's me" size={'lg'} />
</Grid.Col> </Grid.Col>
<Grid.Col span={11}> <Grid.Col span={11}>
<Text c={tema.get().utama} fw={"bold"} truncate="end" pl={isMobile2 ? 40 : 30} fz={isMobile ? 14 : 16}> <Text c={tema.get().utama} fw={"bold"} truncate="end" pl={isMobile2 ? 40 : 30} fz={isMobile ? 14 : 16}>