Skip to content

Commit

Permalink
OCLOMRS-1032:'All Public Concepts' tab is adjusted to 'Public Sources' (
Browse files Browse the repository at this point in the history
  • Loading branch information
suruchee committed Aug 27, 2021
1 parent dafa184 commit c3c7d52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/apps/sources/__test__/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getSourceTypeFromPreviousPath } from "../utils";
describe("getSourceTypeFromPreviousPath", () => {
it("should return public sources for /sources/", () => {
expect(getSourceTypeFromPreviousPath("/sources/")).toEqual(
"All Public Concepts"
"Public Sources"
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/apps/sources/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const TAB_LIST: TabType[] = [
labelURL: "/user/orgs/sources/"
},
{
labelName: "All Public Concepts",
labelName: "Public Sources",
labelURL: "/sources/"
}
];
Expand Down
2 changes: 1 addition & 1 deletion src/apps/sources/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const getSourceTypeFromPreviousPath = (previousPath: String) => {
switch (previousPath) {
case "/sources/":
return "All Public Concepts";
return "Public Sources";
case "/user/sources/":
return "Your Sources";
case "/user/orgs/sources/":
Expand Down

0 comments on commit c3c7d52

Please sign in to comment.