]> BookStack Code Mirror - bookstack/commitdiff
Fixed issue preventing selection of activity type in audit log
authorDan Brown <redacted>
Tue, 9 Aug 2022 11:58:10 +0000 (12:58 +0100)
committerDan Brown <redacted>
Tue, 9 Aug 2022 11:58:10 +0000 (12:58 +0100)
For #3623

resources/views/settings/audit.blade.php

index b856d11502a5dd05fe7bf1879012afc04528c53a..2daeb8a8253bca070997fccdb164120e6f5d0908 100644 (file)
 
             <div component="dropdown" class="list-sort-type dropdown-container">
                 <label for="">{{ trans('settings.audit_event_filter') }}</label>
-                <button refs="dropdown@toggle" aria-haspopup="true" aria-expanded="false" aria-label="{{ trans('common.sort_options') }}" class="input-base text-left">{{ $listDetails['event'] ?: trans('settings.audit_event_filter_no_filter') }}</button>
+                <button refs="dropdown@toggle"
+                        type="button"
+                        aria-haspopup="true"
+                        aria-expanded="false"
+                        aria-label="{{ trans('common.sort_options') }}"
+                        class="input-base text-left">{{ $listDetails['event'] ?: trans('settings.audit_event_filter_no_filter') }}</button>
                 <ul refs="dropdown@menu" class="dropdown-menu">
                     <li @if($listDetails['event'] === '') class="active" @endif><a href="{{ sortUrl('/settings/audit', $listDetails, ['event' => '']) }}" class="text-item">{{ trans('settings.audit_event_filter_no_filter') }}</a></li>
                     @foreach($activityTypes as $type)