From 735b1c542fc55e01a3420ddb76671dc102b49d69 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 21 Jun 2025 23:37:00 +1000 Subject: [PATCH] Fix rendering updated attributes on entries that trigger a template --- resources/views/fragment/template/dn.blade.php | 4 ++-- resources/views/frames/dn.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/fragment/template/dn.blade.php b/resources/views/fragment/template/dn.blade.php index fc0961a3..f0c4c5f6 100644 --- a/resources/views/fragment/template/dn.blade.php +++ b/resources/views/fragment/template/dn.blade.php @@ -6,10 +6,10 @@
- @php($up=(session()->pull('updated') ?: collect())) + @php($up=(session()->get('updated') ?: collect())) @foreach($o->getVisibleAttributes()->filter(fn($item)=>$template->attributes->map('strtolower')->contains($item->name_lc)) as $ao) - + @endforeach
diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index 1054f4ca..0d682f21 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -101,7 +101,7 @@
@php($up=(session()->pull('updated') ?: collect())) @foreach($o->getVisibleAttributes() as $ao) - + @endforeach @include('fragment.dn.add_attr')