This commit is contained in:
naielv
2025-08-13 21:33:13 +02:00
parent 8316377344
commit 7c7cec6ac8
2 changed files with 5 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ if (urlParams.get("login") != null) {
urlParams.get("login").split(":")[1] urlParams.get("login").split(":")[1]
); );
//location.search = ""; //location.search = "";
SetPages()
} }
function open_page(params) { function open_page(params) {

View File

@@ -1001,10 +1001,14 @@ function BuildQR(mid) {
const PAGES = {}; const PAGES = {};
function SetPages() { function SetPages() {
document.getElementById("appendApps2").innerHTML = ""
Object.keys(PAGES).forEach((key) => { Object.keys(PAGES).forEach((key) => {
if (PAGES[key].Esconder == true) { if (PAGES[key].Esconder == true) {
return; return;
} }
if (typeof PAGES[key].HasAccess == "function" & PAGES[key].HasAccess() == False) {
return;
}
var a = document.createElement("a"); var a = document.createElement("a");
var img = document.createElement("img") var img = document.createElement("img")
var label = document.createElement("div") var label = document.createElement("div")