Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Commit 4856473

Browse files
committed
Add missing property and fix error on dashboard
1 parent d54b668 commit 4856473

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/react/Models/Card.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default class Card {
4141
private _status: string;
4242
private _sub_status: string;
4343
private _sub_type: string;
44+
private _product_type: string;
4445
private _type: string;
4546

4647
constructor(cardObject: any) {
@@ -170,6 +171,10 @@ export default class Card {
170171
return this._sub_type;
171172
}
172173

174+
get product_type(): string {
175+
return this._product_type;
176+
}
177+
173178
get type(): string {
174179
return this._type;
175180
}

src/react/Pages/Dashboard/Dashboard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Dashboard extends React.Component {
109109
color="primary"
110110
indicatorColor="primary"
111111
textColor="primary"
112-
variant="fullwidth"
112+
variant="fullWidth"
113113
>
114114
<Tab style={styles.tabItems} value="accounts" label={t("Accounts")} />
115115
{displaySavingsGoals && (

0 commit comments

Comments
 (0)