Fix siemens
And fronend updatesecurityfunc
This commit is contained in:
Binary file not shown.
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user