Skip to content

Commit

Permalink
build should be fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommatheussen committed Jun 2, 2017
1 parent 72b6d71 commit a1ceff1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"@swimlane/ngx-datatable": "^9.2.0",
"core-js": "^2.4.1",
"nedb": "^1.8.0",
"ngx-electron": "0.0.11",
"ngx-electron": "1.0.2",
"rxjs": "^5.4.0",
"typescript": "^2.3.3",
"zone.js": "^0.8.11"
},
"devDependencies": {
"@angular/cli": "^1.0.6",
"@angular/cli": "^1.1.0",
"@angular/compiler-cli": "^4.1.3",
"@types/nedb": "^1.8.3",
"@types/node": "~7.0.22",
"codelyzer": "~3.0.1",
"concurrently": "^3.4.0",
"ts-node": "~3.0.4",
"tslint": "~5.3.2"
"tslint": "~5.4.2"
}
}
4 changes: 3 additions & 1 deletion client/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import { SettingsDialogComponent } from './settings/settings-dialog.component';

import { SettingsStore } from './database/settings.store';

import { settingsFactory } from './settings.factory';

@NgModule({
declarations: [
AppComponent,
Expand All @@ -56,7 +58,7 @@ import { SettingsStore } from './database/settings.store';
SettingsStore,
{
provide: APP_INITIALIZER,
useFactory: (settingsStore: SettingsStore) => () => settingsStore.initSettings(),
useFactory: settingsFactory,
deps: [SettingsStore],
multi: true
}
Expand Down
3 changes: 3 additions & 0 deletions client/src/app/settings.factory.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function settingsFactory(settingsStore) {
return () => settingsStore.initSettings();
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"concurrently": "^3.4.0",
"electron": "^1.6.10",
"electron-builder": "^18.0.1",
"electron-builder": "^18.3.5",
"electron-connect": "^0.6.1",
"gulp": "^3.9.1"
},
Expand Down

0 comments on commit a1ceff1

Please sign in to comment.