fix: API ObjectMetadata labelSingular and labelPlural which eventually solves typo in dropdown (#7614)

## ISSUE 

- Closes #7478 

## Description 

- Fixes typo in dropdown + in general any apikeys label around.
This commit is contained in:
Nabhag Motivaras 2024-10-13 23:07:39 +05:30 committed by GitHub
parent da7a394e0c
commit 508252b14c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -1868,9 +1868,9 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"dataSourceId": "d8a38ce6-6ac9-4c10-b55f-408386f86290",
"nameSingular": "apiKey",
"namePlural": "apiKeys",
"labelSingular": "Api Key",
"labelPlural": "Api Keys",
"description": "An api key",
"labelSingular": "API Key",
"labelPlural": "API Keys",
"description": "An API key",
"icon": "IconRobot",
"isCustom": false,
"isRemote": false,

View File

@ -11,9 +11,9 @@ import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync
@WorkspaceEntity({
standardId: STANDARD_OBJECT_IDS.apiKey,
namePlural: 'apiKeys',
labelSingular: 'Api Key',
labelPlural: 'Api Keys',
description: 'An api key',
labelSingular: 'API Key',
labelPlural: 'API Keys',
description: 'An API key',
icon: 'IconRobot',
labelIdentifierStandardId: API_KEY_STANDARD_FIELD_IDS.name,
})