Loading sveltejs/public/build/bundle.js +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file sveltejs/public/build/bundle.js.map +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file sveltejs/src/Project/Image.svelte +2 −10 Original line number Diff line number Diff line Loading @@ -21,21 +21,13 @@ {#if typeof fieldProjectImages !== 'undefined' && fieldProjectImages.length} {#if fieldProjectImages[0].file.resource === 'image'} <img src={fieldProjectImages[0].file.uri} alt={fieldProjectImages[0].alt} on:error={showFallback} /> <img src={fieldProjectImages[0].file.uri} alt="" on:error={showFallback} /> {:else if (fieldProjectImages[0].file.resource = 'file')} <!-- Keeping this block for compatibility with the mockapi. --> {#await fetchEntity(fieldProjectImages[0].file.uri)} <span>...waiting</span> {:then file} <img src={file.url} alt={fieldProjectImages[0].alt} on:error={showFallback} /> <img src={file.url} alt="" on:error={showFallback} /> {:catch error} <span style="color: red">{error.message}</span> {/await} Loading Loading
sveltejs/public/build/bundle.js +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file
sveltejs/public/build/bundle.js.map +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file
sveltejs/src/Project/Image.svelte +2 −10 Original line number Diff line number Diff line Loading @@ -21,21 +21,13 @@ {#if typeof fieldProjectImages !== 'undefined' && fieldProjectImages.length} {#if fieldProjectImages[0].file.resource === 'image'} <img src={fieldProjectImages[0].file.uri} alt={fieldProjectImages[0].alt} on:error={showFallback} /> <img src={fieldProjectImages[0].file.uri} alt="" on:error={showFallback} /> {:else if (fieldProjectImages[0].file.resource = 'file')} <!-- Keeping this block for compatibility with the mockapi. --> {#await fetchEntity(fieldProjectImages[0].file.uri)} <span>...waiting</span> {:then file} <img src={file.url} alt={fieldProjectImages[0].alt} on:error={showFallback} /> <img src={file.url} alt="" on:error={showFallback} /> {:catch error} <span style="color: red">{error.message}</span> {/await} Loading