mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added filtering on status to the requests page
This commit is contained in:
parent
1ea6a6dc48
commit
4a8c1cd25a
10 changed files with 139 additions and 67 deletions
|
@ -93,7 +93,7 @@ namespace Ombi.Store.Context
|
|||
}
|
||||
|
||||
needToSave = true;
|
||||
NotificationTemplates notificationToAdd;
|
||||
NotificationTemplates notificationToAdd = null;
|
||||
switch (notificationType)
|
||||
{
|
||||
case NotificationType.NewRequest:
|
||||
|
@ -207,7 +207,10 @@ namespace Ombi.Store.Context
|
|||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
NotificationTemplates.Add(notificationToAdd);
|
||||
if (notificationToAdd != null)
|
||||
{
|
||||
NotificationTemplates.Add(notificationToAdd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue