diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index f7d6840ad..667aebd3e 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1133,7 +1133,6 @@ const DocumentsTabComponent: React.FunctionComponent<{ }; // ********* Override here for mongo (from MongoDocumentsTab) ********** - console.log("isPreferredApiMongoDB", props.isPreferredApiMongoDB); if (props.isPreferredApiMongoDB) { loadDocument = (documentId: DocumentId) => MongoProxyClient.readDocument( diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTableComponent.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTableComponent.tsx index 532bd29ec..b44045459 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTableComponent.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTableComponent.tsx @@ -105,7 +105,7 @@ export const DocumentsTableComponent: React.FC = createTableColumn({ columnId: "id", compare: (a, b) => a.id.localeCompare(b.id), - renderHeaderCell: () => "id", + renderHeaderCell: () => columnHeaders.idHeader, renderCell: (item) => {item.id}, }), ].concat( @@ -117,7 +117,7 @@ export const DocumentsTableComponent: React.FC = renderHeaderCell: () => index >= columnHeaders.partitionKeyHeaders.length - 1 ? ( <> - {`/${pkHeader}`} + {pkHeader}