-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Resolve "Import transactions" #144
base: master
Are you sure you want to change the base?
Conversation
this.step = 1; | ||
} | ||
|
||
ngOnInit(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete empty function.
* | ||
* @returns Given value's percentage calculated from number of expenses scanned. | ||
*/ | ||
private getPercentage(value: number): number { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Private members come first.
@@ -0,0 +1,15 @@ | |||
/** | |||
* **UI purpose** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove **
around the text. All comments must be human friendly.
import { CsvFieldMap } from 'src/app/dash/import/shared/interfaces/csv-field-map'; | ||
|
||
export class CsvFieldMapModel { | ||
static readonly whiteListFields: string[] = ['IGNORE_THIS_FIELD', 'DONT_MAP_FIELD']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static
andreadonly
members must beLIKE_THIS
.- Add documentation
- Remove type, it's type is its value exactly.
Closes #138