File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22 $fieldData = $payload [' changes' ][' field_value' ] ?? null ;
33
44 $fieldName = $fieldData [' field_name' ] ?? ' Unknown Field' ;
5- $fromValue = $fieldData [' from' ][' name' ] ?? null ;
6- $toValue = $fieldData [' to' ][' name' ] ?? null ;
5+ $fromValue = $fieldData [' from' ][' name' ] ?? $fieldData [ ' from ' ] ?? null ;
6+ $toValue = $fieldData [' to' ][' name' ] ?? $fieldData [ ' to ' ] ?? null ;
77@endphp
88@include (
99 ' github-project::md.field_types.' . $fieldData [' field_type' ],
Original file line number Diff line number Diff line change 1- **`{{ $fieldName } } `** has been changed from **{{ $fromValue } } ** to **{{ $toValue } } **.
1+ @if ($fromValue != null )
2+ **`{{ $fieldName } } `** has been changed from **`{{ $fromValue } } `** to **`{{ $toValue } } `**.
3+ @elseif ($toValue != null )
4+ **`{{ $fieldName } } `** has been removed from **`{{ $fromValue } } `**.
5+ @else
6+ **`{{ $fieldName } } `** has been set to **`{{ $toValue } } `**.
7+ @endif
You can’t perform that action at this time.
0 commit comments