fix: access can be granted again (#373)
This commit is contained in:
@@ -73,11 +73,14 @@ namespace Content.Client.Access.UI
|
|||||||
AccessLevelControlContainer.AddChild(departmentGrid);
|
AccessLevelControlContainer.AddChild(departmentGrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var department in _groupAccessButtons.ButtonGroups)
|
||||||
foreach (var (id, button) in _groupAccessButtons.ButtonsList)
|
{
|
||||||
|
foreach (var button in department.Values)
|
||||||
{
|
{
|
||||||
button.OnPressed += _ => SubmitData();
|
button.OnPressed += _ => SubmitData();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//WD-EDIT
|
//WD-EDIT
|
||||||
if (!_entityManager.TryGetComponent<IdCardConsoleComponent>(owner.Owner, out var idConsoleComponent))
|
if (!_entityManager.TryGetComponent<IdCardConsoleComponent>(owner.Owner, out var idConsoleComponent))
|
||||||
|
|||||||
Reference in New Issue
Block a user