Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnadipa-dev committed Sep 21, 2023
1 parent 2238a7c commit b90a6d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion elements/search/default/nuxeo-default-search-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
>
<template>
<nuxeo-document-grid-thumbnail
tabindex="0"
tabindex$="{{_computeTabIndex(index)}}"
selected$="{{selected}}"
doc="[[item]]"
index="[[index]]"
Expand Down Expand Up @@ -246,6 +246,10 @@
_contentStoredInColdStorage(doc) {
return this.hasFacet(doc, 'ColdStorage') && doc.properties && doc.properties['coldstorage:coldContent'];
},

_computeTabIndex(index) {
return (index + 1).toString();
},
});
</script>
</dom-module>

0 comments on commit b90a6d4

Please sign in to comment.