feature/my-menu-query #112

Merged
jsegarra merged 3 commits from wbuezas/hedera-web-mindshore:feature/my-menu-query into beta 2025-03-21 13:54:29 +00:00
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ export const useAppStore = defineStore('hedera', {
}),
actions: {
async getMenuLinks() {
const sections = await jApi.query('SELECT * FROM myMenu');
const { data: sections } = await api.get('MyMenus');
if (!sections) return;
const sectionMap = new Map();
for (const section of sections) {
sectionMap.set(section.id, section);