浏览代码

fix check

FabioFratini 11 月之前
父节点
当前提交
9a6e3d9bf9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/components/verbale/allegati/index.blade.php

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

@@ -4,7 +4,7 @@
 @php
     $hasVisibleAllegati = false;
     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;
             break;
         }