mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
Merge pull request #493 from bigcapitalhq/BIG-198
fix: Something wrong in uploading uncategorized bank transactions
This commit is contained in:
@@ -108,17 +108,28 @@ export default class ResourceService {
|
|||||||
const $hasFields = (field) =>
|
const $hasFields = (field) =>
|
||||||
'undefined' !== typeof field.fields ? field : undefined;
|
'undefined' !== typeof field.fields ? field : undefined;
|
||||||
|
|
||||||
const $hasColumns = (column) =>
|
const $ColumnHasColumns = (column) =>
|
||||||
'undefined' !== typeof column.columns ? column : undefined;
|
'undefined' !== typeof column.columns ? column : undefined;
|
||||||
|
|
||||||
|
const $hasColumns = (columns) =>
|
||||||
|
'undefined' !== typeof columns ? columns : undefined;
|
||||||
|
|
||||||
const naviagations = [
|
const naviagations = [
|
||||||
['fields', qim.$each, 'name'],
|
['fields', qim.$each, 'name'],
|
||||||
['fields', qim.$each, $enumerationType, 'options', qim.$each, 'label'],
|
['fields', qim.$each, $enumerationType, 'options', qim.$each, 'label'],
|
||||||
['fields2', qim.$each, 'name'],
|
['fields2', qim.$each, 'name'],
|
||||||
['fields2', qim.$each, $enumerationType, 'options', qim.$each, 'label'],
|
['fields2', qim.$each, $enumerationType, 'options', qim.$each, 'label'],
|
||||||
['fields2', qim.$each, $hasFields, 'fields', qim.$each, 'name'],
|
['fields2', qim.$each, $hasFields, 'fields', qim.$each, 'name'],
|
||||||
['columns', qim.$each, 'name'],
|
['columns', $hasColumns, qim.$each, 'name'],
|
||||||
['columns', qim.$each, $hasColumns, 'columns', qim.$each, 'name'],
|
[
|
||||||
|
'columns',
|
||||||
|
$hasColumns,
|
||||||
|
qim.$each,
|
||||||
|
$ColumnHasColumns,
|
||||||
|
'columns',
|
||||||
|
qim.$each,
|
||||||
|
'name',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
return this.i18nService.i18nApply(naviagations, meta, tenantId);
|
return this.i18nService.i18nApply(naviagations, meta, tenantId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user