Ensure changing quantities outdates plans
This commit is contained in:
@@ -90,4 +90,5 @@ module.exports = class CraftPage extends Observable
|
||||
|
||||
_onWantChanged: ->
|
||||
@triggerPropertyChange "isDirty", @_isDirty, true, ->
|
||||
@_isDirty = true
|
||||
if @want.isEmpty then @triggerPropertyChange "currentPlan", @_currentPlan, null
|
||||
|
||||
@@ -52,7 +52,6 @@ module.exports = class CraftPageController extends PageController
|
||||
|
||||
onRemoveFromWant: (item)->
|
||||
@model.want.remove item
|
||||
@onWantInventoryChanged()
|
||||
|
||||
onSampleClicked: (event)->
|
||||
$el = $(event.target)
|
||||
|
||||
Reference in New Issue
Block a user