Commit 3bffee72 authored by Ben Mullins's avatar Ben Mullins
Browse files

Issue #3292019 by bnjmnm, fjgarlin: Use puzzle-placeholder instead of...

Issue #3292019 by bnjmnm, fjgarlin: Use puzzle-placeholder instead of "waiting..." for loading project images
parent 7c01156c
Loading
Loading
Loading
Loading
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
  {:else if (fieldProjectImages[0].file.resource = 'file')}
    <!-- Keeping this block for compatibility with the mockapi. -->
    {#await fetchEntity(fieldProjectImages[0].file.uri)}
      <span>...waiting</span>
      <img src={fallbackImage} alt={Drupal.t('Placeholder')} />
    {:then file}
      <img src={file.url} alt="" on:error={showFallback} />
    {:catch error}