forked from M3-Academy/m3-academy-template-checkout
fix(Footer): mudança de ordem das chamadas para aparecer os icons sem precisar do mutation #4
@ -8,6 +8,8 @@ export default class Footer {
|
|||||||
async init() {
|
async init() {
|
||||||
this.list = await this.requestApi();
|
this.list = await this.requestApi();
|
||||||
await this.selectors();
|
await this.selectors();
|
||||||
|
this.creditCardIconsHTML();
|
||||||
|
this.developedByIconsHTML();
|
||||||
if (window.location.hash === "#/cart") {
|
if (window.location.hash === "#/cart") {
|
||||||
await this.shelfUpdate();
|
await this.shelfUpdate();
|
||||||
}
|
}
|
||||||
@ -15,8 +17,6 @@ export default class Footer {
|
|||||||
this.shelfItens();
|
this.shelfItens();
|
||||||
this.events();
|
this.events();
|
||||||
this.addCarrossel();
|
this.addCarrossel();
|
||||||
this.creditCardIconsHTML();
|
|
||||||
this.developedByIconsHTML();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user