-
Notifications
You must be signed in to change notification settings - Fork 89
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
Feature/daemon modal #70
Conversation
@@ -21,8 +21,7 @@ export class RpcModule { | |||
RPCService, | |||
PeerService, | |||
PassphraseService, | |||
BlockStatusService, | |||
ElectronService |
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.
appeared twice
@@ -127,8 +154,14 @@ export class RPCService { | |||
* @returns void | |||
*/ | |||
|
|||
register(instance: Injectable, method: string, params: Array<any> | Function | null, | |||
successCB: Function, when: string, errorCB?: Function): 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.
readability
@@ -68,7 +79,13 @@ export class RPCService { | |||
* @returns void | |||
*/ | |||
|
|||
call(instance: Injectable, method: string, params: Array<any> | null, successCB: Function, errorCB?: Function): 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.
readability
}, | ||
error => { | ||
if (errorCB) { | ||
errorCB.call(instance, (typeof error['_body'] === 'object' ? error['_body'] : JSON.parse(error['_body'])) ) |
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.
readability
@@ -71,7 +82,9 @@ export class ModalsService { | |||
|
|||
needToOpenModal(status: any) { | |||
// Open syncing Modal | |||
if (!this.isOpen && (status.networkBH <= 0 || status.internalBH <= 0 || status.networkBH - status.internalBH > 50)) { |
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.
readability
travis fails because of a bug in angular-cli : angular/angular-cli#7296 |
Could we get the lint fixed? :D
|
Oopsie ! Strange my linter didn't complain. jeudi, 10 août 2017, 09:33AM +02:00 de Ryno [email protected] :
…Could we get the lint fixed? :D
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .
|
public message: any; | ||
|
||
constructor( | ||
@Inject(forwardRef(() => ModalsService)) private _modalsService: ModalsService |
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.
Seems unused? triggering moved to the model.service
…ErrorNotification Adds an additional check to the item flag response for error handling responses
No description provided.