From 29a7ff9202db04938c0a03571c0da334a42d958a Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 4 Oct 2024 15:31:45 +0530 Subject: [PATCH] chore: do not handle iframe error --- app/javascript/shared/components/IframeLoader.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/javascript/shared/components/IframeLoader.vue b/app/javascript/shared/components/IframeLoader.vue index 27d6a44c0..aafe821d3 100644 --- a/app/javascript/shared/components/IframeLoader.vue +++ b/app/javascript/shared/components/IframeLoader.vue @@ -23,11 +23,11 @@ export default { // Once loaded, the loading state is hidden this.isLoading = false; }, - handleIframeError() { - // Hide the loading state and show the empty state when an error occurs - this.isLoading = false; - this.showEmptyState = true; - }, + // handleIframeError() { + // // Hide the loading state and show the empty state when an error occurs + // this.isLoading = false; + // this.showEmptyState = true; + // }, }, }; @@ -39,7 +39,6 @@ export default { :src="url" class="absolute w-full h-full top-0 left-0" @load="handleIframeLoad" - @error="handleIframeError" />