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
- Fix the title of group-record-dialog
  • Loading branch information
ammarbarakat committed Aug 3, 2022
1 parent d8c22a0 commit efab531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dialogs/group-record-dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@ export default {
computed: {
dialogTitle () {
if (this.urn === '') {
if (this.elementType === 'RECORD') {
if (this.elementType.toUpperCase() === 'RECORD') {
return this.$i18n.t('pages.records.itemDialog.title.create')
} else {
return this.$i18n.t('pages.groups.itemDialog.title.create')
}
} else if (this.elementType === 'RECORD') {
} else if (this.elementType.toUpperCase() === 'RECORD') {
return this.$i18n.t('pages.records.itemDialog.title.update')
} else {
return this.$i18n.t('pages.groups.itemDialog.title.update')
Expand Down

0 comments on commit efab531

Please sign in to comment.