Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Jul 25, 2024
1 parent a30ac31 commit 20ef979
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/router/modules/ADempiere/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import store from '@/store'
import Layout from '@/layout'

// Constants
import staticRoutes from '@/router/modules/ADempiere/staticRoutes.js'
import STATIC_ROUTES from '@/router/modules/ADempiere/staticRoutes.js'
import { NOTICE_WINDOW_ID } from '@/utils/ADempiere/dictionary/dashboard'

// API Request Methods
Expand All @@ -31,7 +31,7 @@ import { requestMenu } from '@/api/ADempiere/security/index.ts'
// Utils and Helper Methods
import { convertAction } from '@/utils/ADempiere/dictionary/menu'
import { getCurrentOrganization } from '@/utils/ADempiere/auth'
import { isEmptyValue, recursiveTreeSearch } from '@/utils/ADempiere'
import { isEmptyValue, recursiveTreeSearch } from '@/utils/ADempiere/valueUtils'

/**
* Get Menu from server
Expand Down Expand Up @@ -101,7 +101,7 @@ export function loadMainMenu({
})
const permiseStactiRoutes = hidenStaticRoutes({
dynamicRoutes: asyncRoutesMap,
staticRoutes,
staticRoutes: STATIC_ROUTES,
permiseRole: role
})
const menuRoutes = permiseStactiRoutes
Expand All @@ -115,7 +115,7 @@ export function loadMainMenu({
console.error(`Error getting menu: ${error.message}. Code: ${error.code}.`)
const permiseStactiRoutes = hidenStaticRoutes({
dynamicRoutes: [],
staticRoutes,
staticRoutes: STATIC_ROUTES,
permiseRole: role
})
const menuRoutes = permiseStactiRoutes
Expand Down

0 comments on commit 20ef979

Please sign in to comment.