From e019aff5a24b224b1142bdd65fda68c863e5dda9 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 2 Feb 2023 11:38:32 +0100
Subject: [PATCH] fix

---
 .../admin/communication/photo_imports/_selector.html.erb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/admin/communication/photo_imports/_selector.html.erb b/app/views/admin/communication/photo_imports/_selector.html.erb
index 80a83bb03..22dc08c26 100644
--- a/app/views/admin/communication/photo_imports/_selector.html.erb
+++ b/app/views/admin/communication/photo_imports/_selector.html.erb
@@ -167,7 +167,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json)
             results: [],
             total: 0
           },
-          selected: {}
+          selected: null
         },
         pexels: {
           url: '<%= pexels_path %>',
@@ -176,7 +176,7 @@ pexels_path = admin_communication_pexels_path(website_id: nil, format: :json)
             results: [],
             total: 0
           },
-          selected: {}
+          selected: null
         },
         targets: {
           image: document.querySelector('<%= about_featured_image_image %> img'),
-- 
GitLab