|
@@ -438,6 +438,8 @@ public partial class EquipmentSchedulesDashboard : UserControl, IDashboardWidget
|
|
|
{
|
|
|
if (sender is not FrameworkElement element || element.Tag is not Guid employeeID) return;
|
|
|
|
|
|
+ if (employeeID == Guid.Empty) return;
|
|
|
+
|
|
|
var menu = new ContextMenu();
|
|
|
menu.AddItem("View Employee", null, employeeID, ViewEmployee_Click);
|
|
|
menu.IsOpen = true;
|