? Can IF condition be applied to email_verified_at field in Laravel Blade?
Controller $userAlbums =album::select('album_id')->where('created_by','=',Auth::id())->count(); $userData = user::where('id','=',Auth::id())->first(); return view('welcome', compact('userData','userAlbums')); Blade @if($userData->email_varified_at == null) @include('include.email-verification') @endif if i try to display $userData->email_varified_at variable it works ,but the IF condition also run every time even if email_varified_at field is not null. is…