fixed notification messages..
This commit is contained in:
parent
d816c00a59
commit
892466e5d3
@ -58,7 +58,7 @@ class Exports extends Component
|
|||||||
{
|
{
|
||||||
$query = user()->notifications()->unread()
|
$query = user()->notifications()->unread()
|
||||||
->where('type', 'App\Notifications\Common\ExportCompleted')
|
->where('type', 'App\Notifications\Common\ExportCompleted')
|
||||||
->orWhere('type', 'App\Notifications\Common\ExportFailed');
|
->where('type', 'App\Notifications\Common\ExportFailed');
|
||||||
|
|
||||||
if ($limit) {
|
if ($limit) {
|
||||||
$notifications = $query->paginate($limit);
|
$notifications = $query->paginate($limit);
|
||||||
|
@ -58,7 +58,7 @@ class Imports extends Component
|
|||||||
{
|
{
|
||||||
$query = user()->notifications()->unread()
|
$query = user()->notifications()->unread()
|
||||||
->where('type', 'App\Notifications\Common\ImportCompleted')
|
->where('type', 'App\Notifications\Common\ImportCompleted')
|
||||||
->orWhere('type', 'App\Notifications\Common\ImportFailed');
|
->where('type', 'App\Notifications\Common\ImportFailed');
|
||||||
|
|
||||||
if ($limit) {
|
if ($limit) {
|
||||||
$notifications = $query->paginate($limit);
|
$notifications = $query->paginate($limit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user