Skip to content

Commit

Permalink
removed install task due to yarn endless loop
Browse files Browse the repository at this point in the history
  • Loading branch information
haimich committed Apr 1, 2017
1 parent 3e48770 commit 9b3ca91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "./buildtmp/src/index.js",
"scripts": {
"setup": "npm run install-platform-specific && npm run rebuild && npm run recreate-database",
"install": "yarn install",
"install-platform-specific": "npm install sqlite3 --build-from-source",
"rebuild": "electron-rebuild",
"recreate-database": "rimraf bills.sqlite && knex migrate:latest && knex seed:run",
Expand Down
2 changes: 1 addition & 1 deletion src/main/AppComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class AppComponent extends React.Component<Props, {}> {
this.state = {
bills: props.bills,
expenses: props.expenses,
mode: 'expenses' //TODO 'bills'
mode: 'bills'
}

ipcRenderer.on('shortcut-CommandOrControl+d', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/stats/BillsTableComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default class BillsTableComponent extends React.Component<Props, {}> {
pagination={true}>

<TableHeaderColumn isKey={true} dataField="name" width="140" dataSort={true}>{t('Kunde')}</TableHeaderColumn>
<TableHeaderColumn dataField="billCount" width="60" dataSort={true}>{t('Rechnungen')}</TableHeaderColumn>
<TableHeaderColumn dataField="averageTimeToPay" width="60" dataFormat={dayFormatter} dataSort={true}>{t('Durchschn. Bezahldauer')}</TableHeaderColumn>
<TableHeaderColumn dataField="billCount" width="70" dataSort={true}>{t('Rechnungen')}</TableHeaderColumn>
<TableHeaderColumn dataField="averageTimeToPay" width="70" dataFormat={dayFormatter} dataSort={true}>{t('Durchschn. Bezahldauer')}</TableHeaderColumn>
<TableHeaderColumn dataField="total" width="100" dataFormat={currencyFormatter} dataAlign="right" dataSort={true}>{t('Umsatz')}</TableHeaderColumn>

</BootstrapTable>
Expand Down

0 comments on commit 9b3ca91

Please sign in to comment.