diff --git a/app/views/admin/communication/photo_imports/_selector.html.erb b/app/views/admin/communication/photo_imports/_selector.html.erb index 80a83bb0375a438e876c0df5a979c14dcf444b89..22dc08c266b45fa2dabb5a0076bf2a3873005f16 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'),