@@ -53,21 +53,25 @@ protected function records(): Collection
5353 'title ' => new HtmlString ('
5454 <div class="w-full flex flex-col space-y-3">
5555 <div class="w-full flex items-center gap-2">
56- <div title=" ' . $ type ['title ' ] . '"
57- class="text-xs rounded-full w-6 h-6 flex items-center justify-center text-center"
58- style="color: ' . $ type ->text_color . '; background-color: ' . $ type ->bg_color . ';"
59- >
60- <i class="fa ' . $ type ['icon ' ] . '"></i>
61- </div>
62- <div title=" ' . $ priority ['title ' ] . '"
63- class="text-xs rounded-full w-6 h-6 flex items-center justify-center text-center"
64- style="
65- color: ' . $ priority ->text_color . ';
66- background-color: ' . $ priority ->bg_color . ';
67- "
68- >
69- <i class="fa ' . $ priority ['icon ' ] . '"></i>
70- </div>
56+ ' . ($ type ? '
57+ <div title=" ' . $ type ['title ' ] . '"
58+ class="text-xs rounded-full w-6 h-6 flex items-center justify-center text-center"
59+ style="color: ' . $ type ->text_color . '; background-color: ' . $ type ->bg_color . ';"
60+ >
61+ <i class="fa ' . $ type ['icon ' ] . '"></i>
62+ </div>
63+ ' : '' ) . '
64+ ' . ($ priority ? '
65+ <div title=" ' . $ priority ['title ' ] . '"
66+ class="text-xs rounded-full w-6 h-6 flex items-center justify-center text-center"
67+ style="
68+ color: ' . $ priority ->text_color . ';
69+ background-color: ' . $ priority ->bg_color . ';
70+ "
71+ >
72+ <i class="fa ' . $ priority ['icon ' ] . '"></i>
73+ </div>
74+ ' : '' ) . '
7175 <span class="text-sm font-normal"
7276 title=" ' . $ ticket ->title . '">
7377 ' . Str::limit ($ ticket ->title , 15 ) . '
@@ -79,7 +83,7 @@ class="text-xs rounded-full w-6 h-6 flex items-center justify-center text-center
7983 <div class="w-full flex items-center space-x-4">
8084 <div class="flex items-center gap-1">
8185 ' .
82- ($ ticket ->responsible ? '
86+ ($ ticket ->responsible ? '
8387 <img src=" ' . $ ticket ->responsible ->avatar_url . '"
8488 alt=" ' . $ ticket ->responsible ->name . '"
8589 class="rounded-full shadow"
0 commit comments