moved boot query to connectcallback
This commit is contained in:
parent
8748836d9f
commit
6752659166
|
@ -16,14 +16,14 @@ class ExtAppRoleController extends HTMLElement{
|
|||
|
||||
constructor(){
|
||||
super()
|
||||
this.#boot = document.querySelector("d4s-boot-2")
|
||||
this.#serviceurl = this.#boot.url
|
||||
this.attachShadow({ mode: "open" });
|
||||
}
|
||||
|
||||
connectedCallback(){
|
||||
this.#appid = this.getAttribute("appid")
|
||||
this.#groupid = this.getAttribute("groupid")
|
||||
this.#boot = document.querySelector("d4s-boot-2")
|
||||
this.#serviceurl = this.#boot.url
|
||||
if(!this.#loading){
|
||||
this.#loading = true
|
||||
this.loadData()
|
||||
|
|
Loading…
Reference in New Issue