Skip to content

Commit

Permalink
Minor doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Vervuurt committed Jun 22, 2023
1 parent f705379 commit 471d574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customizing-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected function customizeEvent(Event $event) : Event
{
if($event->model())
{
if($event->model() && $event->model()->isInACertainState())
if($event->model()->isInACertainState())
{
// 'warning' takes precedence over 'special'
$event->addStyles('special', 'warning');
Expand Down
2 changes: 2 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ This package requires:
That's it! Your calendar should now be up and running.
As of v2.0, you can now [add multiple calendar views](/nova-calendar/adding-more-calendar-views.html) and offer [event filters](/nova-calendar/event-filters.html) to your end users.
[Go back to the documentation overview](/nova-calendar) to learn how you can customize the calendar, the events on it, their CSS styles and much more.
Expand Down

0 comments on commit 471d574

Please sign in to comment.