Update conf x admin gestito

This commit is contained in:
2024-03-05 17:15:28 +01:00
parent 8c978f68c2
commit 2e54c8b164
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -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);
}
}
}
+1 -1
View File
@@ -29,7 +29,7 @@
"InfoRich": "samuele.locatelli@egalware.com"
},
"ServerConf": {
"AdmList": "1"
"AdmList": "1,6"
},
"AdmApp": {
"LinkMal": "https://office.egalware.com/GPW/ADMIN/malattia",