@php // as it is possible that we can be redirected with persistent table we save the alerts in a variable // and flush them from session, so we will get them later from localStorage. $backpack_alerts = \Alert::getMessages(); \Alert::flush(); @endphp {{-- DATA TABLES SCRIPT --}}