From 0c231aae49cbb9a0e7d8287a05e6408a394688cc Mon Sep 17 00:00:00 2001 From: alokhyland Date: Sun, 28 Apr 2024 12:17:13 +0530 Subject: [PATCH] ELEMENTS-1731: fix display of long username under activity section --- elements/nuxeo-document-info/nuxeo-document-info.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/elements/nuxeo-document-info/nuxeo-document-info.js b/elements/nuxeo-document-info/nuxeo-document-info.js index 73b5415704..8116cc2eb6 100644 --- a/elements/nuxeo-document-info/nuxeo-document-info.js +++ b/elements/nuxeo-document-info/nuxeo-document-info.js @@ -76,9 +76,7 @@ Polymer({
- - [[document.contextParameters.publications.resultsCount]] - + [[document.contextParameters.publications.resultsCount]]
@@ -92,7 +90,7 @@ Polymer({
- +
@@ -113,6 +111,10 @@ Polymer({ value: false, reflectToAttribute: true, }, + _creatorList: { + type: Array, + value: [], + }, }, _showPub(doc) { @@ -130,6 +132,9 @@ Polymer({ this.document.contextParameters && this.document.contextParameters.runningWorkflows && this.document.contextParameters.runningWorkflows.length > 0; + if (this.document && this.document.properties) { + this._creatorList = [this.document.properties['dc:creator']]; + } }, _urlForPub() {