fix: inconsistent usage of snake_case and camelCase (#6824)

This commit is contained in:
Shivam Mishra
2023-04-04 16:22:45 +05:30
committed by GitHub
parent a0eafc94d7
commit b7d0016d99
4 changed files with 12 additions and 12 deletions

View File

@@ -254,8 +254,8 @@ export default {
reportType: 'conversations',
});
},
fetchFilterItems(group_by) {
switch (group_by) {
fetchFilterItems(groupBy) {
switch (groupBy) {
case GROUP_BY_FILTER[2].period:
return this.$t('REPORT.GROUP_BY_WEEK_OPTIONS');
case GROUP_BY_FILTER[3].period:

View File

@@ -308,8 +308,8 @@ export default {
reportType: this.type,
});
},
fetchFilterItems(group_by) {
switch (group_by) {
fetchFilterItems(groupBy) {
switch (groupBy) {
case GROUP_BY_FILTER[2].period:
return this.$t('REPORT.GROUP_BY_WEEK_OPTIONS');
case GROUP_BY_FILTER[3].period: