Feature/travis (#77)
* integrate travis * fix prettier transactions-page.component.ts * change base branch to main * fetch all branches in .travis.yml
This commit is contained in:
parent
7099edc591
commit
ebae2f4ec9
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
language: node_js
|
||||||
|
git:
|
||||||
|
depth: false
|
||||||
|
node_js:
|
||||||
|
- 14
|
||||||
|
before_script:
|
||||||
|
- yarn
|
||||||
|
script:
|
||||||
|
- yarn format:check
|
@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit {
|
|||||||
data: {
|
data: {
|
||||||
accounts: this.user?.accounts,
|
accounts: this.user?.accounts,
|
||||||
transaction: {
|
transaction: {
|
||||||
accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => {
|
accountId:
|
||||||
return account.isDefault;
|
aTransaction?.accountId ??
|
||||||
})?.id,
|
this.user?.accounts.find((account) => {
|
||||||
|
return account.isDefault;
|
||||||
|
})?.id,
|
||||||
currency: aTransaction?.currency ?? null,
|
currency: aTransaction?.currency ?? null,
|
||||||
dataSource: aTransaction?.dataSource ?? null,
|
dataSource: aTransaction?.dataSource ?? null,
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
|
2
nx.json
2
nx.json
@ -6,7 +6,7 @@
|
|||||||
".eslintrc.json": "*",
|
".eslintrc.json": "*",
|
||||||
"nx.json": "*"
|
"nx.json": "*"
|
||||||
},
|
},
|
||||||
"affected": { "defaultBase": "master" },
|
"affected": { "defaultBase": "origin/main" },
|
||||||
"npmScope": "ghostfolio",
|
"npmScope": "ghostfolio",
|
||||||
"tasksRunnerOptions": {
|
"tasksRunnerOptions": {
|
||||||
"default": {
|
"default": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user