Skip to content

Commit

Permalink
update vendors
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparrosin committed Nov 12, 2020
1 parent 3b19193 commit cf716f4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.5] - 2020-10-30

### Changed

- Moved to version `2.0` of `optimistdigital/nova-translations-loader`


## [1.0.4] - 2020-10-30

### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"require": {
"php": ">=7.1.0",
"laravel/nova": "^2.0.11 || ^3.0",
"optimistdigital/nova-translations-loader": "^1.0.4"
"optimistdigital/nova-translations-loader": "^2.0.0"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 3 additions & 2 deletions src/FilterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
use OptimistDigital\NovaTranslationsLoader\NovaTranslationsLoader;
use OptimistDigital\NovaTranslationsLoader\LoadsNovaTranslations;

class FilterServiceProvider extends ServiceProvider
{
use LoadsNovaTranslations;
/**
* Bootstrap any application services.
*
Expand All @@ -21,6 +22,6 @@ public function boot(): void
Nova::script('nova-multiselect-filter', __DIR__ . '/../dist/js/filter.js');
});

NovaTranslationsLoader::loadTranslations(__DIR__ . '/../resources/lang', 'nova-multiselect-filter', true);
$this->loadTranslations(__DIR__ . '/../resources/lang', 'nova-multiselect-filter', true);
}
}

0 comments on commit cf716f4

Please sign in to comment.