Skip to content

Commit

Permalink
修改事件名字
Browse files Browse the repository at this point in the history
  • Loading branch information
bigrocs committed Sep 18, 2017
1 parent 9677364 commit 37cb670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Listeners/StorageEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(Config $configPro){
public function onBuilderTablePackage($event)
{
$table = $event->table;
if ($table->event == 'package') {
if ($table->event == 'adminPackage') {
$table->data->transform(function ($item, $key) {
if ($item->name == 'Storage') {
$item->rightButton = [
Expand Down

0 comments on commit 37cb670

Please sign in to comment.