@php use Leantime\Core\Controller\Frontcontroller; $currentRoute = Frontcontroller::getCurrentRoute(); $currentUrlPath = BASE_URL . '/' . str_replace('.', '/', $currentRoute); $groupBy = $groupByOptions; $sortBy = $sortOptions; $statusLabels = $allTicketStates; $taskToggle = $enableTaskTypeToggle ?? false; @endphp
Filter{!! $numOfFilters > 0 ? " " . $numOfFilters . ' ' : '' !!} {{-- Please don't change the code formatting below, if not right next to each other it somehow adds a space between the two buttons and increases the distance --}} @if ($currentRoute !== 'tickets.roadmap' && $currentRoute != 'tickets.showProjectCalendar')
@endif
@dispatchEvent('filters.beforeFirstBarField')
@if (isset($taskToggle) && $taskToggle === true)
@endif
@dispatchEvent('filters.beforeBar') @dispatchEvent('filters.beforeFormClose')