UI Settings refresh improvements + remove last button on subnets
This commit is contained in:
@@ -1210,6 +1210,13 @@ function resetInitializedFlag()
|
||||
sessionStorage.setItem(sessionStorageKey, "false");
|
||||
}
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
function isAppInitialized()
|
||||
{
|
||||
return sessionStorage.getItem(sessionStorageKey) === "true";
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// check if cache needs to be refreshed because of setting changes
|
||||
$.get('api/app_state.json?nocache=' + Date.now(), function(appState) {
|
||||
@@ -1327,6 +1334,8 @@ const onAllCallsComplete = () => {
|
||||
|
||||
console.log('✔ Cache intialized');
|
||||
|
||||
location.reload();
|
||||
|
||||
};
|
||||
|
||||
// Call the function to execute the code
|
||||
|
||||
Reference in New Issue
Block a user