Update conf x admin gestito
This commit is contained in:
@@ -242,14 +242,12 @@ namespace GPW.CORE.WRKLOG.Shared
|
||||
TimbratureModel? timbData = JsonConvert.DeserializeObject<TimbratureModel>(currArgs.newMessage);
|
||||
if (timbData != null)
|
||||
{
|
||||
// verifico se sia un messaggio del dip corrente o solox admin...
|
||||
//if (timbData.IdxDipendente == IdxDipendente || timbData.IdxDipendente == 1)
|
||||
// solo se admin == 1
|
||||
if (idxDipendente == 1)
|
||||
// solo se admin
|
||||
if (isAdmin)
|
||||
{
|
||||
updateDisplay(timbData);
|
||||
await InvokeAsync(StateHasChanged);
|
||||
await ResetMessage(10);
|
||||
await ResetMessage(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"InfoRich": "samuele.locatelli@egalware.com"
|
||||
},
|
||||
"ServerConf": {
|
||||
"AdmList": "1"
|
||||
"AdmList": "1,6"
|
||||
},
|
||||
"AdmApp": {
|
||||
"LinkMal": "https://office.egalware.com/GPW/ADMIN/malattia",
|
||||
|
||||
Reference in New Issue
Block a user