diff --git a/GPW.CORE.WRKLOG/Shared/LoginDisplay.razor.cs b/GPW.CORE.WRKLOG/Shared/LoginDisplay.razor.cs index 4334659..2e2ada2 100644 --- a/GPW.CORE.WRKLOG/Shared/LoginDisplay.razor.cs +++ b/GPW.CORE.WRKLOG/Shared/LoginDisplay.razor.cs @@ -242,14 +242,12 @@ namespace GPW.CORE.WRKLOG.Shared TimbratureModel? timbData = JsonConvert.DeserializeObject(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); } } } diff --git a/GPW.CORE.WRKLOG/appsettings.json b/GPW.CORE.WRKLOG/appsettings.json index 0860deb..11e3c72 100644 --- a/GPW.CORE.WRKLOG/appsettings.json +++ b/GPW.CORE.WRKLOG/appsettings.json @@ -29,7 +29,7 @@ "InfoRich": "samuele.locatelli@egalware.com" }, "ServerConf": { - "AdmList": "1" + "AdmList": "1,6" }, "AdmApp": { "LinkMal": "https://office.egalware.com/GPW/ADMIN/malattia",