fix(rtk-query-monitor): capitalize tabs #995 (#996)

This commit is contained in:
Fabrizio Vitale 2022-01-08 21:01:30 +01:00 committed by GitHub
parent 88efc25786
commit d1028e0a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ const tabs: ReadonlyArray<
TabOption<QueryPreviewTabs, QueryPreviewTabProps, RtkResourceInfo['type']> TabOption<QueryPreviewTabs, QueryPreviewTabProps, RtkResourceInfo['type']>
> = [ > = [
{ {
label: 'query', label: 'Query',
value: QueryPreviewTabs.queryinfo, value: QueryPreviewTabs.queryinfo,
component: MappedQueryPreviewInfo, component: MappedQueryPreviewInfo,
visible: { visible: {
@ -104,7 +104,7 @@ const tabs: ReadonlyArray<
}, },
}, },
{ {
label: 'actions', label: 'Actions',
value: QueryPreviewTabs.actions, value: QueryPreviewTabs.actions,
component: MappedQueryPreviewActions, component: MappedQueryPreviewActions,
visible: { visible: {
@ -114,7 +114,7 @@ const tabs: ReadonlyArray<
}, },
}, },
{ {
label: 'tags', label: 'Tags',
value: QueryPreviewTabs.queryTags, value: QueryPreviewTabs.queryTags,
component: MappedQueryPreviewTags, component: MappedQueryPreviewTags,
visible: { visible: {
@ -124,7 +124,7 @@ const tabs: ReadonlyArray<
}, },
}, },
{ {
label: 'subs', label: 'Subs',
value: QueryPreviewTabs.querySubscriptions, value: QueryPreviewTabs.querySubscriptions,
component: MappedQuerySubscriptipns, component: MappedQuerySubscriptipns,
visible: { visible: {
@ -134,7 +134,7 @@ const tabs: ReadonlyArray<
}, },
}, },
{ {
label: 'api', label: 'Api',
value: QueryPreviewTabs.apiConfig, value: QueryPreviewTabs.apiConfig,
component: MappedApiPreview, component: MappedApiPreview,
}, },