No need to clear error dialog content on close, just makes UI flicker
This commit is contained in:
@@ -34,18 +34,11 @@ async function onError(error) {
|
||||
if (!window.cloudron) window.cloudron = {};
|
||||
window.cloudron.onError = onError;
|
||||
|
||||
function onClose() {
|
||||
status.value = 0;
|
||||
message.value = '';
|
||||
stackTrace.value = '';
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Dialog ref="dialog" title="Unhandled error"
|
||||
:reject-label="$t('main.dialog.close')"
|
||||
@close="onClose"
|
||||
>
|
||||
<div>
|
||||
<label v-if="status">Status:</label>
|
||||
|
||||
Reference in New Issue
Block a user