Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4650

JS Error on Gallery - Slider renders block unusable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.15
    • None
    • 2
    • Block: Gallery
    • Sprint #117

      There is a console error happening in the editor side in:

      https://release.k8s.p4.greenpeace.org/greece/wp-admin/post.php?post=3952&action=edit

       

      Notes:

      Looks like it's related to this line:

      https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/blob/develop/assets/src/blocks/Gallery/GalleryBlock.js#L123
       
      focal_points_json[img_id] --> seems to be undefined.
       

            pcuadrad Pablo Cuadrado (Inactive)
            kspiliop Kostantinos Spiliopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: