Fix siemens

And fronend updatesecurityfunc
This commit is contained in:
Lucio Maranta
2019-05-20 17:25:39 +02:00
parent dde6f68123
commit 4a9c19646d
5 changed files with 5 additions and 3 deletions
Binary file not shown.
+1 -1
View File
@@ -80,7 +80,7 @@ namespace Step.App_Start
TokenEndpointPath = new PathString("/Token"),
Provider = new ApplicationOAuthProvider(),
// Bearer token expiration time
AccessTokenExpireTimeSpan = TimeSpan.FromDays(14),
AccessTokenExpireTimeSpan = TimeSpan.FromDays(365),
//TODO: In modalità di produzione impostare AllowInsecureHttp = false
AllowInsecureHttp = true
};
@@ -183,6 +183,7 @@
align-items: center;
span{
word-wrap: break-word;
max-width: 445px;
}
input{
margin-left: auto;
+1
View File
@@ -127,6 +127,7 @@
}
.modal.m155 .content-real-showval span {
word-wrap: break-word;
max-width: 445px;
}
.modal.m155 .content-real-showval input {
margin-left: auto;
@@ -163,8 +163,8 @@ export const machineStatusStore = {
store.functions = Array.from(store._functions.values());
Factory.Get(MessageService).publishToChannel("force-ui-update");
},
UpdateSecurityFunction(store, func: signalr_security.securityFunction) {
if (!store._functions.has(func.id) || store._functions.get(func.name).enabled != func.enabled) {
UpdateSecurityFunction(store, func: signalr_security.securityFunction) {
if (store._functions.get(func.name) && store._functions.get(func.name).enabled != func.enabled) {
store._functions.get(func.name).enabled = func.enabled;
store.functions = Array.from(store._functions.values());
Factory.Get(MessageService).publishToChannel("force-ui-update");