Component notifications can be silenced. Closes #2316

This commit is contained in:
James Brooks
2017-01-16 20:48:00 +00:00
parent 7c50932d01
commit 8725ab2b9b
8 changed files with 44 additions and 9 deletions
@@ -50,7 +50,7 @@ class UpdateComponentCommandHandler
$component = $command->component;
$originalStatus = $component->status;
event(new ComponentStatusWasUpdatedEvent($this->auth->user(), $component, $originalStatus, $command->status));
event(new ComponentStatusWasUpdatedEvent($this->auth->user(), $component, $originalStatus, $command->status, $command->silent));
$component->update($this->filter($command));