Skip to content

Commit cba2918

Browse files
committed
feat: add fallback for org name
1 parent 2c2a6ac commit cba2918

File tree

1 file changed

+1
-1
lines changed
  • src/Shared/Components/DevtronLicenseCard

1 file changed

+1
-1
lines changed

src/Shared/Components/DevtronLicenseCard/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const parseDevtronLicenseDTOIntoLicenseCardData = <isCentralDashboard ext
3838
licenseDTO || {}
3939

4040
return {
41-
enterpriseName: organisationMetadata?.name || '',
41+
enterpriseName: organisationMetadata?.name || 'Devtron Enterprise',
4242
expiryDate: expiry ? moment(expiry).format(DATE_TIME_FORMATS['DD/MM/YYYY']) : '',
4343
ttl,
4444
licenseStatus: getDevtronLicenseStatus({ ttl, reminderThreshold }),

0 commit comments

Comments
 (0)