Skip to content

Commit

Permalink
🤦🏽‍♂️
Browse files Browse the repository at this point in the history
fix missing `departments`
  • Loading branch information
atmonshi committed Apr 10, 2022
1 parent 3bebaeb commit 48ce6be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `wind` will be documented in this file

## 1.0.4 - 2022-04-10

- fix missing `departments` from Contacts Component
- add validation for ordering in `DepartmentResource`

## 1.0.3 - 2022-03-29

- add support for laravel 9
Expand Down
1 change: 1 addition & 0 deletions src/Http/Livewire/Contacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected function getFormSchema(): array
public function render()
{
return view('zeus-wind::contact')
->with('departments', Department::whereIsActive(1)->orderBy('ordering')->get())
->layout(config('zeus-wind.layout'));
}
}

0 comments on commit 48ce6be

Please sign in to comment.