mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
refactor fhcApi
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
import {CoreFetchCmpt} from '../../components/Fetch.js';
|
||||
import ApiNavigation from '../../api/factory/navigation.js';
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -76,13 +77,13 @@ export const CoreNavigationCmpt = {
|
||||
*
|
||||
*/
|
||||
fetchCmptApiFunctionHeader() {
|
||||
return this.$fhcApi.factory.navigation.getHeader(this.getNavigationPage());
|
||||
return this.$api.call(ApiNavigation.getHeader(this.getNavigationPage()))
|
||||
},
|
||||
/**
|
||||
*
|
||||
*/
|
||||
fetchCmptApiFunctionSideMenu() {
|
||||
return this.$fhcApi.factory.navigation.getMenu(this.getNavigationPage());
|
||||
return this.$api.call(ApiNavigation.getMenu(this.getNavigationPage()))
|
||||
},
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user