diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e47a6f..f9ccd38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to `laravel-csv` will be documented in this file. +## v1.1.1 - 2022-11-07 + +### What's Changed + +- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/coderflexx/laravel-csv/pull/13 +- Update csv-importer.blade.php by @Globerada in https://github.com/coderflexx/laravel-csv/pull/12 + +### New Contributors + +- @Globerada made their first contribution in https://github.com/coderflexx/laravel-csv/pull/12 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.1.0...v1.1.1 + ## v1.1.0 - 2022-10-12 ### What's Changed diff --git a/README.md b/README.md index 5b99f26..bbdfae0 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ php artisan vendor:publish --tag="csv-migrations" php artisan migrate ``` +Add trait **HasCsvImports** to your User model. + Publish the config file with: ```bash diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index 27b022c..b627953 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -45,7 +45,7 @@ class CsvImporter extends Component /** @var array */ protected $exceptions = [ - 'mode', 'columnsToMap', 'open', + 'model', 'columnsToMap', 'open', 'columnLabels', 'requiredColumns', ]; @@ -83,7 +83,7 @@ public function import() $this->resetExcept($this->exceptions); - $this->emitTo('csv-imports', 'imports.refresh'); + $this->emitTo('handle-imports', 'imports.refresh'); } public function toggle() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy