i have multiple customer account ui extension like : invoice, sales & settings. now i want to hide/show invoice & sales extension based on settings extension settings.
how can i achive this.
also i want to know. proxy is working in customer account extension?
i have setup proxy but doesn’t work it would be great help for me. if anyone help.
my proxy code:
fetch(apps/proxy/invoices, {
method: “GET”,
headers: {
“Content-Type”: “application/json”,
“Authorization”: Bearer ${token}
}
})