Skip to content

Commit

Permalink
include curation status for curators
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Sep 18, 2024
1 parent 1c17947 commit 79cfcfb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/views/Browser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@
@annotation-unselected="unselectTerm"/>
</td>
</template>
<template v-slot:item.curationNote="{ item }">
<v-tooltip v-if="item.curationNote" left>
<template v-slot:activator="{ on }">
<v-icon v-if="item" color="orange" v-on="on">
mdi-alert-octagon-outline
</v-icon>
</template>
<div>
{{ item.curationNote }}
</div>
</v-tooltip>
</template>
<template v-slot:footer.prepend>
<v-btn v-show="!drawer" icon @click="drawer = true">
<v-icon>mdi-chevron-right</v-icon>
Expand Down Expand Up @@ -261,6 +273,14 @@ export default {
value: "lastUpdated"
}
);
if (this.myself && this.myself.group === 'Administrators'){
h.push({
text: "Curation",
value: "curationNote",
align: "center",
sortable: false
});
}
if (this.debug && this.appliedQuery) {
h.push({
text: "Score (dev only)",
Expand Down

0 comments on commit 79cfcfb

Please sign in to comment.