Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

fix(headerbar): Broken link to apps resource #64

Closed
wants to merge 1 commit into from
Closed

fix(headerbar): Broken link to apps resource #64

wants to merge 1 commit into from

Conversation

SferaDev
Copy link
Contributor

@SferaDev SferaDev commented Jul 9, 2019

🔢 Implementation

Since we are accessing baseUrl/api/version/resource we need to go back two levels instead of only one.

Right now it leads to a 404 when trying to access this resource since it's fetching /api/dhis-web-commons/menu/getModules.action.

📔 Additional notes

With apiVersion="" the two-level nesting seems to work fine too, even though the header bar still not supports it (dhis2/app-runtime#15).

image

Since we are accessing baseUrl/api/version/resource we need to go back two levels instead of only one.
@SferaDev
Copy link
Contributor Author

SferaDev commented Jul 9, 2019

Closing in favour of #53

@SferaDev SferaDev closed this Jul 9, 2019
@SferaDev SferaDev deleted the patch-1 branch July 9, 2019 07:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant