diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 5a66027..2e078e1 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -194,7 +194,7 @@ if ($url1sb->successful() or $url2sb->successful()) {
- @if(env('NOTIFY_UPDATES') == 'old') + @if(env('NOTIFY_UPDATES') === 'old') @if(file_exists(base_path("version.json"))) @@ -213,9 +213,7 @@ if ($url1sb->successful() or $url2sb->successful()) { An update is available @endif @endif - @elseif(env('NOTIFY_UPDATES') == 'false') - {{-- No update checks --}} - @else + @elseif(env('NOTIFY_UPDATES') === 'true' or env('NOTIFY_UPDATES') === 'major' or env('NOTIFY_UPDATES') === 'all')