Fixed permission names in front end as they have to be kebab cased
This commit is contained in:
@ -16,19 +16,19 @@ export class CashFlow {
|
||||
|
||||
static Data(value): CashFlowItem[] {
|
||||
const d: CashFlowItem[] = [];
|
||||
if (value.body.operating && value.body.operating.length) {
|
||||
if (value.body.operating?.length) {
|
||||
d.push(new CashFlowItem('Cash flows from Operating activities'));
|
||||
d.push(...value.body.operating);
|
||||
}
|
||||
if (value.body.investing && value.body.investing.length) {
|
||||
if (value.body.investing?.length) {
|
||||
d.push(new CashFlowItem('Cash flows from Investing activities'));
|
||||
d.push(...value.body.investing);
|
||||
}
|
||||
if (value.body.financing && value.body.financing.length) {
|
||||
if (value.body.financing?.length) {
|
||||
d.push(new CashFlowItem('Cash flows from Financing activities'));
|
||||
d.push(...value.body.financing);
|
||||
}
|
||||
if (value.body.details && value.body.details.length) {
|
||||
if (value.body.details?.length) {
|
||||
d.push(...value.body.details);
|
||||
}
|
||||
return d;
|
||||
|
||||
Reference in New Issue
Block a user