Skip to content

Commit ddd4275

Browse files
authored
feat: add superadmin tab for doi management (#3626)
1 parent 0d15fa8 commit ddd4275

11 files changed

Lines changed: 1067 additions & 3 deletions

File tree

client/components/DevCommunitySwitcherMenu/communities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if (process.env.NODE_ENV !== 'production') {
1717
{ title: 'HDSR', subdomain: 'hdsr', icon: 'regression-chart' },
1818
{ title: 'BAAS', subdomain: 'baas', icon: 'moon' },
1919
{ title: 'Cursor', subdomain: 'cursor', icon: 'book' },
20+
{ title: 'JOTE', subdomain: 'jtrialerror', icon: 'lab-test' },
2021
];
2122
}
2223

client/containers/DashboardOverview/overviewRows/labels.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,8 @@ export const renderLabelPairs = (iconLabelPairs: IconLabelPair[]) => {
132132
};
133133

134134
export const getTypicalPubLabels = (pub: Pub) => {
135+
if (!pub.scopeSummary) {
136+
return [getPubReleasedStateLabel(pub)];
137+
}
135138
return [...getScopeSummaryLabels(expect(pub.scopeSummary)), getPubReleasedStateLabel(pub)];
136139
};

0 commit comments

Comments
 (0)