fix forgotten $userPr
This commit is contained in:
parent
0636759eb8
commit
19e4bfc95a
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
@include('modules.error-messages')
|
||||
@php
|
||||
$userPr = Auth::user()->projects;
|
||||
$userPr = Auth::user()->projects ?? collect([]);
|
||||
@endphp
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
@extends('layout.app')
|
||||
|
||||
@section('content')
|
||||
@php
|
||||
$userPr = Auth::user()->projects ?? collect([]);
|
||||
@endphp
|
||||
<div class="container container-xxl">
|
||||
<h2>
|
||||
Gestion des tickets @if(request()->status) (Archivés) @endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue