Skip to content

Commit 823daaf

Browse files
committed
fix: correct syntax for color formatting in single select field display
1 parent 010e913 commit 823daaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/md/field_types/single_select.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
$toColor = $fieldData['to']['color'] ?? null;
44
@endphp
55
@if($fromValue != null)
6-
**{{ $fieldName }}** has been changed from $${\color{<?= $fromColor ?>}{{ $fromValue }}$$ to $${\color{<?= $toColor ?>}{{ $toValue }}$$.
6+
**{{ $fieldName }}** has been changed from $${\color{<?= $fromColor ?>}{{ $fromValue }}}$$ to $${\color{<?= $toColor ?>}{{ $toValue }}}$$.
77
@elseif ($toValue != null)
88
**{{ $fieldName }}** has been removed from $${\color{<?= $fromColor ?>}{{ $fromValue }}}$$.
99
@else
10-
**{{ $fieldName }}** has been set to $${\color{<?= $toColor ?>}{{ $toValue }}$$.
10+
**{{ $fieldName }}** has been set to $${\color{<?= $toColor ?>}{{ $toValue }}}$$.
1111
@endif

0 commit comments

Comments
 (0)