Add registry element data view
This commit is contained in:
@ -109,8 +109,8 @@
|
||||
"Редактирование пользователя",
|
||||
new Dictionary<string, object>()
|
||||
{
|
||||
{ nameof(Dialogs.EditUser.CurrentUserId), currentUserId },
|
||||
{ nameof(Dialogs.EditUser.UserWithRole), userWithRole }
|
||||
{ nameof(EditUser.CurrentUserId), currentUserId },
|
||||
{ nameof(EditUser.UserWithRole), userWithRole }
|
||||
},
|
||||
new DialogOptions()
|
||||
{
|
||||
|
||||
@ -134,7 +134,17 @@
|
||||
|
||||
async Task ShowElementAsync(RegistryElement registryElement)
|
||||
{
|
||||
// TODO
|
||||
await DialogService.OpenAsync<ViewRegistryElement>(
|
||||
"Просмотр записи",
|
||||
new Dictionary<string, object>()
|
||||
{
|
||||
{ nameof(ViewRegistryElement.RegistryElement), registryElement }
|
||||
},
|
||||
new DialogOptions()
|
||||
{
|
||||
Width = "420px",
|
||||
Height = "600px"
|
||||
});
|
||||
}
|
||||
|
||||
void ChangeState(CommonPageState state)
|
||||
|
||||
Reference in New Issue
Block a user