mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
fixed uploads
This commit is contained in:
parent
cad4e683bc
commit
32b9a0dbbb
9 changed files with 52 additions and 37 deletions
|
@ -16,12 +16,7 @@ const ImageUpload: FC<IProps> = ({
|
|||
}) => (
|
||||
<div className={styles.wrap}>
|
||||
<div className={classNames(styles.thumb_wrap, { is_uploading })}>
|
||||
{thumb && (
|
||||
<div
|
||||
className={styles.thumb}
|
||||
style={{ backgroundImage: `url("${process.env.API_HOST}${thumb}")` }}
|
||||
/>
|
||||
)}
|
||||
{thumb && <div className={styles.thumb} style={{ backgroundImage: `url("${thumb}")` }} />}
|
||||
{is_uploading && (
|
||||
<div className={styles.progress}>
|
||||
<ArcProgress size={72} progress={progress} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue