mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
fix: small style tweaks and bug fixes
fix: remove interactive styles from display elements fix: automation form reset on submit fix: prevent empty image src
This commit is contained in:
committed by
Carlos Valente
parent
902edf4a85
commit
836fa52757
@@ -248,7 +248,9 @@ export default function ProjectData() {
|
||||
{...register(`custom.${idx}.url`)}
|
||||
/>
|
||||
<div className={style.imageContainer}>
|
||||
<img src={watch(`custom.${idx}.url`)} alt='' loading='lazy' className='info__image' />
|
||||
{watch(`custom.${idx}.url`) && (
|
||||
<img src={watch(`custom.${idx}.url`)} alt='' loading='lazy' className='info__image' />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user