Skip to content

Commit

Permalink
Fixed issue with earning (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarfati authored Nov 1, 2019
1 parent b46b60b commit 00ea3a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web-app/src/modules/salad-bowl/SaladBowlStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class SaladBowlStore {
}

this.plugin.name = pluginDefinition.name
this.plugin.status = PluginStatus.Stopped
this.plugin.status = PluginStatus.Initializing

yield this.store.native.send('start-salad', pluginDefinition)

Expand All @@ -140,6 +140,7 @@ export class SaladBowlStore {
@action.bound
stop = flow(function*(this: SaladBowlStore) {
yield this.store.native.send('stop-salad')
this.plugin.status = PluginStatus.Stopped

this.sendRunningStatus()
if (this.runningHeartbeat) {
Expand Down

0 comments on commit 00ea3a8

Please sign in to comment.