Skip to content

Commit

Permalink
Disable moving and editing terms when taxos are R/O (#3935)
Browse files Browse the repository at this point in the history
Co-authored-by: Ramin Haeri Azad <rhaeri@maelstrom-reseach.org>
  • Loading branch information
kazoompa and Ramin Haeri Azad authored Sep 22, 2024
1 parent 9be21e5 commit a4e541c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opal-ui/src/components/taxonomies/TaxonomyContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<router-link :to="`/taxonomies/${taxonomy.name}/${props.value}`">
{{ props.value }}
</router-link>
<div class="float-right" v-if="!hasFilter">
<div class="float-right" v-if="taxonomiesStore.canEdit && !hasFilter">
<q-btn
v-show="props.rowIndex > 0"
rounded
Expand Down
2 changes: 1 addition & 1 deletion opal-ui/src/components/taxonomies/VocabularyContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<template v-slot:body-cell-name="props">
<q-td :props="props" class="items-start" @mouseover="onOverRow(props.row)" @mouseleave="onLeaveRow(props.row)">
{{ props.value }}
<div class="float-right">
<div class="float-right" v-if="taxonomiesStore.canEdit">
<q-btn
rounded
dense
Expand Down

0 comments on commit a4e541c

Please sign in to comment.