From cef28307d03f858ccbfc1db83d5d52b90314dfd5 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Tue, 1 Oct 2019 10:47:06 +0200 Subject: [PATCH] #1660 ticket.log si el usuario es un cliente falla --- modules/worker/front/log/index.html | 10 ++++------ modules/worker/front/log/index.js | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/worker/front/log/index.html b/modules/worker/front/log/index.html index 8ba6b285b..1a4ac0a5f 100644 --- a/modules/worker/front/log/index.html +++ b/modules/worker/front/log/index.html @@ -31,10 +31,9 @@
Changed by: {{::log.user.name | dashIfEmpty}} + translate>{{::log.user.name | dashIfEmpty}}
@@ -53,10 +52,9 @@ {{::log.user.name | dashIfEmpty}} + translate>{{::log.user.name | dashIfEmpty}} diff --git a/modules/worker/front/log/index.js b/modules/worker/front/log/index.js index cd85833ab..4a577658b 100644 --- a/modules/worker/front/log/index.js +++ b/modules/worker/front/log/index.js @@ -43,6 +43,7 @@ export default class Controller { showWorkerDescriptor(event, workerFk) { if (event.defaultPrevented) return; + if (!workerFk) return; event.preventDefault(); event.stopPropagation();