Skip to content

Commit 8db2394

Browse files
authored
Merge pull request #15 from Globerada/patch-3
Update CsvImporter.php
2 parents 135a34b + b4ad492 commit 8db2394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Livewire/CsvImporter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CsvImporter extends Component
4545

4646
/** @var array */
4747
protected $exceptions = [
48-
'mode', 'columnsToMap', 'open',
48+
'model', 'columnsToMap', 'open',
4949
'columnLabels', 'requiredColumns',
5050
];
5151

@@ -83,7 +83,7 @@ public function import()
8383

8484
$this->resetExcept($this->exceptions);
8585

86-
$this->emitTo('csv-imports', 'imports.refresh');
86+
$this->emitTo('handle-imports', 'imports.refresh');
8787
}
8888

8989
public function toggle()

0 commit comments

Comments
 (0)