refs #5941 fix(support-dialog): change message, test: fix e2e
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-08-11 13:20:02 +02:00
parent 02dddaeffe
commit 4719922883
4 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<h5 class="vn-py-sm" translate>Send cau</h5>
<vn-horizontal>
<vn-textarea vn-one
label="Reason"
label="ExplainReason"
ng-model="$ctrl.reason"
rows="2"
required="true">
@ -11,7 +11,7 @@
</vn-horizontal>
<vn-horizontal>
<span>
{{'This email contains more relevant information for the IT team' | translate}}
{{'By sending this ticket, all the data related to the error, the section, the user, etc., are already sent.' | translate}}
</span>
</vn-horizontal>
</section>

View File

@ -13,4 +13,5 @@ Finalize: Finalize
Previous: Back
Load more: Load more
Auto-scroll interrupted, please adjust the search: Auto-scroll interrupted, please adjust the search
General search: General search
General search: General search
ExplainReason: Explain the reason why this error should not occur

View File

@ -65,4 +65,5 @@ No data: Sin datos
Undo changes: Deshacer cambios
Load more results: Cargar más resultados
Send cau: Enviar cau
This email contains more relevant information for the IT team: Este correo contiene más información relevante para el equipo de informática
By sending this ticket, all the data related to the error, the section, the user, etc., are already sent.: Al enviar este cau ya se envían todos los datos relacionados con el error, la sección, el usuario, etc
ExplainReason: Explique el motivo por el que no deberia aparecer este fallo

View File

@ -151,7 +151,7 @@ function $exceptionHandler(vnApp, $window, $state, $injector) {
const additonalData = {
frontPath: $state.current.name,
httpRequest: cause.replace('Possibly unhandled rejection: ', ''),
httpRequest: cause?.replace('Possibly unhandled rejection: ', ''),
backError: exception
};
vnApp.showError(message, additonalData);