Merge pull request 'moved boot query to connectcallback' (#21) from master into prod
Reviewed-on: #21
This commit is contained in:
commit
f848098db9
|
@ -16,14 +16,14 @@ class ExtAppRoleController extends HTMLElement{
|
||||||
|
|
||||||
constructor(){
|
constructor(){
|
||||||
super()
|
super()
|
||||||
this.#boot = document.querySelector("d4s-boot-2")
|
|
||||||
this.#serviceurl = this.#boot.url
|
|
||||||
this.attachShadow({ mode: "open" });
|
this.attachShadow({ mode: "open" });
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback(){
|
connectedCallback(){
|
||||||
this.#appid = this.getAttribute("appid")
|
this.#appid = this.getAttribute("appid")
|
||||||
this.#groupid = this.getAttribute("groupid")
|
this.#groupid = this.getAttribute("groupid")
|
||||||
|
this.#boot = document.querySelector("d4s-boot-2")
|
||||||
|
this.#serviceurl = this.#boot.url
|
||||||
if(!this.#loading){
|
if(!this.#loading){
|
||||||
this.#loading = true
|
this.#loading = true
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
|
Loading…
Reference in New Issue