Skip to content

Commit

Permalink
#74 - Record members should not be editable if the record is released
Browse files Browse the repository at this point in the history
- Record members are not allowed to be edited if the record is released.
  • Loading branch information
ammarbarakat committed Aug 3, 2022
1 parent efab531 commit 241c576
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/dialogs/group-record-dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@
<v-list subheader>
<v-subheader>{{ $t('global.members') }}</v-subheader>
<v-list-item>
<v-list-item-content v-if="element.identification.status === 'RELEASED'">
<v-list-item-content
v-if="element.identification.status === 'RELEASED'
&& element.identification.elementType.toUpperCase().includes('RECORD')"
>
<members-table :members="element.members" />
</v-list-item-content>
<Members
Expand Down

0 comments on commit 241c576

Please sign in to comment.