diff --git a/resources/views/staff/worklist/index.blade.php b/resources/views/staff/worklist/index.blade.php index 7be3768..872826e 100644 --- a/resources/views/staff/worklist/index.blade.php +++ b/resources/views/staff/worklist/index.blade.php @@ -215,13 +215,12 @@ function formatDate(date) { return new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toISOString().slice(0, 10); } - filterTableStatus('unread'); - $('a[data-bs-toggle="tab"]').on('click', function (e) { - _status = $(e.target).attr('id').replace('nav-', ''); + _status = $(e.target).attr('id').replace('nav__', ''); filterTable(); }); + filterTableStatus('unread'); }); diff --git a/resources/views/staff/worklist/partials/_nav-top.blade.php b/resources/views/staff/worklist/partials/_nav-top.blade.php index 410d318..bc795ca 100644 --- a/resources/views/staff/worklist/partials/_nav-top.blade.php +++ b/resources/views/staff/worklist/partials/_nav-top.blade.php @@ -1,10 +1,10 @@