Skip to content

Commit d934c38

Browse files
committed
Remove SOURCE_TYPE_KEY
1 parent b698257 commit d934c38

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/components/releaseNotes/components.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# @labkey/components
22
Components, models, actions, and utility functions for LabKey applications and pages
33

4+
### version 6.??.?
5+
*Released*: ? June 2025
6+
- Remove SOURCE_TYPE_KEY constant
7+
8+
49
### version 6.46.0
510
*Released*: 4 June 2025
611
- Issue 52527: Implement new method for determining primary app id

packages/components/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,6 @@ import {
854854
SAMPLES_KEY,
855855
SEARCH_KEY,
856856
SERVER_NOTIFICATION_MAX_ROWS,
857-
SOURCE_TYPE_KEY,
858857
SOURCES_KEY,
859858
TEAM_KEY,
860859
TEAM_PICKLISTS_HREF,
@@ -1043,7 +1042,6 @@ const App = {
10431042
SEARCH_KEY,
10441043
DATA_CLASS_KEY,
10451044
SOURCES_KEY,
1046-
SOURCE_TYPE_KEY,
10471045
WORKFLOW_KEY,
10481046
FREEZERS_KEY,
10491047
BOXES_KEY,

packages/components/src/internal/app/constants.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export const SAMPLE_TYPE_KEY = 'sampleType';
3838
export const SEARCH_KEY = 'search';
3939
export const SOURCES_KEY = 'sources';
4040
export const DATA_CLASS_KEY = 'dataclass';
41-
export const SOURCE_TYPE_KEY = 'sourceType';
4241
export const WORKFLOW_KEY = 'workflow';
4342
export const FREEZERS_KEY = 'freezers';
4443
export const ITEMS_KEY = 'items';
@@ -79,7 +78,7 @@ export const FILE_UPDATE_SAMPLES_HREF = AppURL.create(SAMPLES_KEY, 'new').addPar
7978
'mode',
8079
EntityCreationMode.FILE_UPDATE
8180
);
82-
export const NEW_SOURCE_TYPE_HREF = AppURL.create(SOURCE_TYPE_KEY, 'new');
81+
export const NEW_SOURCE_TYPE_HREF = AppURL.create(SOURCES_KEY, 'new');
8382
export const NEW_SAMPLE_TYPE_HREF = AppURL.create(SAMPLE_TYPE_KEY, 'new');
8483
export const NEW_STANDARD_ASSAY_DESIGN_HREF = AppURL.create(ASSAY_DESIGN_KEY, GENERAL_ASSAY_PROVIDER_NAME);
8584
export const NEW_ASSAY_DESIGN_HREF = AppURL.create(ASSAY_DESIGN_KEY, 'new');

packages/components/src/internal/components/navigation/ProductMenu.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import {
4545
ASSAYS_KEY,
4646
PICKLIST_KEY,
4747
ELN_KEY,
48-
SOURCE_TYPE_KEY,
4948
SOURCES_KEY,
5049
FREEZERS_KEY,
5150
BOXES_KEY,
@@ -358,7 +357,6 @@ const HEADER_MENU_SUBTITLE_MAP = {
358357
[REGISTRY_KEY]: 'Registry Sources',
359358
[SAMPLE_TYPE_KEY.toLowerCase()]: 'Sample Types',
360359
[SAMPLES_KEY]: 'Sample Types',
361-
[SOURCE_TYPE_KEY.toLowerCase()]: 'Source Types',
362360
[SOURCES_KEY]: 'Source Types',
363361
[SEARCH_KEY]: 'Search',
364362
[WORKFLOW_KEY]: 'Workflow',

0 commit comments

Comments
 (0)