|
@@ -17,6 +17,7 @@ using sun.net.www;
|
|
|
using Syncfusion.Windows.Controls.RichTextBoxAdv;
|
|
|
using static ICSharpCode.AvalonEdit.Document.TextDocumentWeakEventManager;
|
|
|
using SelectionChangedEventArgs = System.Windows.Controls.SelectionChangedEventArgs;
|
|
|
+using PRS.Shared;
|
|
|
|
|
|
namespace PRSDesktop;
|
|
|
|
|
@@ -281,7 +282,10 @@ public partial class NotificationPanel : UserControl, IPanel<Notification>
|
|
|
Security.IsAllowed<CanManageEvents>() ? "Events" : "Event Subscriptions",
|
|
|
Security.IsAllowed<CanManageEvents>() ? PRSDesktop.Resources.edit : PRSDesktop.Resources.email, action =>
|
|
|
{
|
|
|
- var list = new MasterList(typeof(Event));
|
|
|
+ var list = new MasterList(typeof(Event), dynamicGrid: new EventGrid
|
|
|
+ {
|
|
|
+ EmployeeID = App.EmployeeID
|
|
|
+ });
|
|
|
list.ShowDialog();
|
|
|
});
|
|
|
}
|