From 50e5c6ef0e716c1f0354589d54965efc137e97a0 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 5 Mar 2024 10:10:29 +0000 Subject: [PATCH] fix(nc-gui): remove change related to error boundary --- packages/nc-gui/components/nc/ErrorBoundary.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui/components/nc/ErrorBoundary.vue b/packages/nc-gui/components/nc/ErrorBoundary.vue index cea9237b77..25b7df4585 100644 --- a/packages/nc-gui/components/nc/ErrorBoundary.vue +++ b/packages/nc-gui/components/nc/ErrorBoundary.vue @@ -29,7 +29,7 @@ export default { const copyError = async () => { try { - if (error.value) await copy(`message: ${error.value?.message}\n\n${error.value?.stack}`) + if (error.value) await copy(`message: ${error.value.message}\n\n${error.value.stack}`) message.info('Error message copied to clipboard.') } catch (e) { message.error('Something went wrong while copying to clipboard, please copy from browser console.') @@ -95,9 +95,9 @@ export default { >
- Message: {{ error?.message }} + Message: {{ error.message }}
-
{{ error?.stack }}
+
{{ error.stack }}
@@ -107,7 +107,7 @@ export default { Copy Error
- +
Reload