From 06e4a8359e885c3ebac93ab84f2adb6d02ffb0d1 Mon Sep 17 00:00:00 2001 From: suruchee Date: Thu, 26 Aug 2021 16:32:06 +0545 Subject: [PATCH] OCLOMRS-1032:'All Public Concepts' tab is adjusted to 'Public Sources' --- src/apps/sources/__test__/utils.test.ts | 2 +- src/apps/sources/constants.ts | 2 +- src/apps/sources/utils.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/sources/__test__/utils.test.ts b/src/apps/sources/__test__/utils.test.ts index 93482ca2c..f7804e491 100644 --- a/src/apps/sources/__test__/utils.test.ts +++ b/src/apps/sources/__test__/utils.test.ts @@ -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" ); }); diff --git a/src/apps/sources/constants.ts b/src/apps/sources/constants.ts index 4e184b584..86e70ab1d 100644 --- a/src/apps/sources/constants.ts +++ b/src/apps/sources/constants.ts @@ -12,7 +12,7 @@ export const TAB_LIST: TabType[] = [ labelURL: "/user/orgs/sources/" }, { - labelName: "All Public Concepts", + labelName: "Public Sources", labelURL: "/sources/" } ]; diff --git a/src/apps/sources/utils.ts b/src/apps/sources/utils.ts index 3d74e54db..adb8722f0 100644 --- a/src/apps/sources/utils.ts +++ b/src/apps/sources/utils.ts @@ -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/":