Skip to content

Commit

Permalink
Remove and update TODOs in OSCALLinkUtils
Browse files Browse the repository at this point in the history
Removes the first TODO that appears to have been closed by
usnistgov/oscal-content#59. Updates the
remaining TODO with the appropriate GitHub issue.
  • Loading branch information
kyla committed Jul 12, 2022
1 parent 0bb2671 commit e816f6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/oscal-utils/OSCALLinkUtils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import getUriFromBackMatterByHref from "./OSCALBackMatterUtils";

export function fixJsonUrls(absoluteUrl) {
// TODO this is incorrect in the profile (https://github.com/usnistgov/oscal-content/issues/59, https://easydynamics.atlassian.net/browse/EGRC-266)
// TODO this workaround must be improved in https://easydynamics.atlassian.net/browse/EGRC-296
// TODO this workaround must be improved in (https://github.com/EasyDynamics/oscal-react-library/issues/158)
if (!absoluteUrl.endsWith(".xml")) {
return absoluteUrl;
}
Expand Down

0 comments on commit e816f6d

Please sign in to comment.