-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 10.10-HF26
-
Fix Version/s: None
-
Component/s: Web UI
-
Tags:
When using nuxeo-result element (https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-results/nuxeo-results.html), the result actions are still displayed even if hideContentViewActions attribute is set to true (CSV export, Spreadsheet editor and the different result views are visible, even after hard refresh).
Here is a sample of code:
<nuxeo-results id="results" display-mode="table" name="[[document.uid]]" nx-provider="nxProvider" selected-items="{{selectedItems}}" document="[[document]]" display-quick-filters display-sort="[[_canSort(document, sortOptions)]]" sort-options="[[sortOptions]]" role="widget" hide-content-view-actions> <nuxeo-data-table name="table" icon="nuxeo:view-list" class="results" on-row-clicked="_navigate" draggable$="[[_hasWritePermission(document)]]" drop-target-filter="[[_dropTargetFilter]]"> <nuxeo-data-table-column field="dc:title"> <template> <nuxeo-document-thumbnail document="[[item]]"></nuxeo-document-thumbnail> <a class="ellipsis" href$="[[urlFor('browse', item.path)]]" on-click="_navigate">[[item.title]]</a> </template> </nuxeo-data-table-column> </nuxeo-data-table> </nuxeo-results>
Consequently, it creates useless space on the card.
- is related to
-
WEBUI-125 nuxeo-results should hide content view actions if specified
- Resolved