From 02686bef40c55914b1af15c2eceec2de374a23ad Mon Sep 17 00:00:00 2001 From: swarnadipa-dev Date: Fri, 11 Aug 2023 14:24:20 +0530 Subject: [PATCH] test --- elements/nuxeo-app.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/elements/nuxeo-app.js b/elements/nuxeo-app.js index ca6e034950..ad830c7029 100644 --- a/elements/nuxeo-app.js +++ b/elements/nuxeo-app.js @@ -1099,20 +1099,20 @@ Polymer({ _displayUser(user) { if (user) { - let result = ''; + let res = ''; if (user.properties.firstName) { - result += user.properties.firstName; + res += user.properties.firstName; } if (user.properties.lastName) { - if (result.length > 0) { - result += ' '; + if (res.length > 0) { + res += ' '; } - result += user.properties.lastName; + res += user.properties.lastName; } - if (result.length === 0) { - result = user.id; + if (res.length === 0) { + res = user.id; } - return result; + return res; } },