Skip to content

Commit 8f19c24

Browse files
author
Sebastian Fix
committed
wip
1 parent 7aed81f commit 8f19c24

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/Actions/ViewDataAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class ViewDataAction
1717
{
18-
public function configuration(string $locale): Configuration
18+
public function configuration(string $locale): ?Configuration
1919
{
2020
$key = Str::slug("configuration_{$locale}");
2121

resources/views/layouts/_partials/_footer.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ classAttributes="text-lg"/>
7171
@include('layouts._partials._footer.labels')
7272
</div>
7373

74-
@if(filled($configuration->footer))
74+
@if(filled($configuration?->footer))
7575
<div class="text-base text-gray-500 text-center md:text-left">
7676
<span title="{{ app()->getLocale() }}"{{ date('Y') }} {{ $configuration->footer }}</span>
7777
</div>

resources/views/layouts/_partials/_navigation.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="mt-12 text-xl md:text-2xl" x-data="navigation">
22
<div class="flex justify-between items-center">
33

4-
@if(filled($configuration->logo))
4+
@if(filled($configuration?->logo))
55
<a href="{{ localized_route('start.index') }}" title="Start page" class="group inline-block">
66
@include($configuration->logo)
77
</a>

0 commit comments

Comments
 (0)