update
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user