From 5329d795973a0c435ad11836fa5de3602801f800 Mon Sep 17 00:00:00 2001 From: khoa nguyen Date: Thu, 17 Aug 2023 15:45:32 +0700 Subject: [PATCH] fix image preview not show when upload --- view/adminhtml/ui_component/blog_author_form.xml | 3 ++- view/adminhtml/ui_component/blog_post_form.xml | 3 ++- view/adminhtml/web/template/image-preview.html | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/view/adminhtml/ui_component/blog_author_form.xml b/view/adminhtml/ui_component/blog_author_form.xml index b560b9b..d6e96a0 100644 --- a/view/adminhtml/ui_component/blog_author_form.xml +++ b/view/adminhtml/ui_component/blog_author_form.xml @@ -54,6 +54,7 @@ true + ui/form/element/uploader/uploader @@ -129,4 +130,4 @@ - \ No newline at end of file + diff --git a/view/adminhtml/ui_component/blog_post_form.xml b/view/adminhtml/ui_component/blog_post_form.xml index 9858d48..2bf80a0 100644 --- a/view/adminhtml/ui_component/blog_post_form.xml +++ b/view/adminhtml/ui_component/blog_post_form.xml @@ -198,6 +198,7 @@ true + ui/form/element/uploader/uploader @@ -482,4 +483,4 @@ - \ No newline at end of file + diff --git a/view/adminhtml/web/template/image-preview.html b/view/adminhtml/web/template/image-preview.html index 5eb677e..f2000a0 100644 --- a/view/adminhtml/web/template/image-preview.html +++ b/view/adminhtml/web/template/image-preview.html @@ -1,7 +1,7 @@