diff --git a/src/components/ActionsGroup/index.vue b/src/components/ActionsGroup/index.vue index 8bee81d45..73b18972d 100644 --- a/src/components/ActionsGroup/index.vue +++ b/src/components/ActionsGroup/index.vue @@ -41,7 +41,7 @@ export default { moreActionsTitle: { type: String, default() { - return this.$t('common.actions.MoreActions') + return this.$t('common.MoreActions') } } }, @@ -66,7 +66,7 @@ export default { return actions }, iMoreActionsTitle() { - return this.moreActionsTitle || this.$t('common.actions.MoreActions') + return this.moreActionsTitle || this.$t('common.MoreActions') } }, methods: { @@ -74,6 +74,8 @@ export default { const action = this.totalNamedActions[item] if (action && action.callback) { action.callback(action) + } else { + this.$log.debug('No callback found') } this.$emit('actionClick', item) }, diff --git a/src/components/AutoDataTable/index.vue b/src/components/AutoDataTable/index.vue index 125c6b152..98c17d723 100644 --- a/src/components/AutoDataTable/index.vue +++ b/src/components/AutoDataTable/index.vue @@ -50,7 +50,7 @@ export default { case 'actions': col = { prop: 'id', - label: this.$t('common.table.Actions'), + label: this.$t('common.Actions'), align: 'center', formatter: ActionsFormatter, width: '150px', @@ -58,7 +58,7 @@ export default { } break case 'is_valid': - col.label = this.$t('common.validity') + col.label = this.$t('common.Validity') col.formatter = BooleanFormatter col.align = 'center' col.width = '80px' diff --git a/src/components/DataForm/index.vue b/src/components/DataForm/index.vue index 84402e294..34bfc136d 100644 --- a/src/components/DataForm/index.vue +++ b/src/components/DataForm/index.vue @@ -14,8 +14,8 @@ {{ button.title }} - {{ $t('common.actions.Reset') }} - {{ $t('common.actions.Submit') }} + {{ $t('common.Reset') }} + {{ $t('common.Submit') }} diff --git a/src/components/DetailCard/index.vue b/src/components/DetailCard/index.vue index 4800c9e07..9ab23d17e 100644 --- a/src/components/DetailCard/index.vue +++ b/src/components/DetailCard/index.vue @@ -23,7 +23,7 @@ export default { title: { type: String, default() { - return this.$t('common.tabs.BasicInfo') + return this.$t('common.BasicInfo') } }, items: { diff --git a/src/components/Dialog/index.vue b/src/components/Dialog/index.vue index 526855f8d..f93878e35 100644 --- a/src/components/Dialog/index.vue +++ b/src/components/Dialog/index.vue @@ -7,8 +7,8 @@ diff --git a/src/components/DialogAction/index.vue b/src/components/DialogAction/index.vue index bc31a84d0..62a7edce0 100644 --- a/src/components/DialogAction/index.vue +++ b/src/components/DialogAction/index.vue @@ -1,6 +1,6 @@