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 34c33ff commit d2f4627
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 d2f4627

Please sign in to comment.