mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-24 21:39:36 +02:00
Fixed custom icons not updating
This commit is contained in:
parent
f93659b661
commit
1fbe0746a4
6 changed files with 76 additions and 15 deletions
|
@ -21,7 +21,7 @@ const AppCard = (props: ComponentProps): JSX.Element => {
|
|||
className={classes.AppCard}
|
||||
>
|
||||
<div className={classes.AppCardIcon}>
|
||||
{(/.(jpeg|jpg|png)$/).test(props.app.icon)
|
||||
{(/.(jpeg|jpg|png)$/i).test(props.app.icon)
|
||||
? <img
|
||||
src={`/uploads/${props.app.icon}`}
|
||||
alt={`${props.app.name} icon`}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue