Browse Source

fix check

FabioFratini 11 tháng trước cách đây
mục cha
commit
9a6e3d9bf9

+ 1 - 1
resources/views/components/verbale/allegati/index.blade.php

@@ -4,7 +4,7 @@
 @php
 @php
     $hasVisibleAllegati = false;
     $hasVisibleAllegati = false;
     foreach ($allegati as $allegato) {
     foreach ($allegati as $allegato) {
-        if ($allegato->is_visible && $allegato->files && $allegato->gallery_type == 1 && $allegato->is_visible == true) {
+        if ($allegato->is_visible && $allegato->files && $allegato->is_visible == true) {
             $hasVisibleAllegati = true;
             $hasVisibleAllegati = true;
             break;
             break;
         }
         }