diff --git a/src/Explorer/Panes/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel.tsx index a5d6651d5..94250b2d7 100644 --- a/src/Explorer/Panes/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel.tsx @@ -279,7 +279,7 @@ export class AddCollectionPanel extends React.Component - {`${getCollectionName()} ${userContext.apiType === "Mongo" ? "name" : "id"}`} + {`${getCollectionName()} id`} => { const collection = useSelectedNode.getState().findSelectedCollection(); if (!collection || inputCollectionName !== collection.id()) { - const errorMessage = "Input " + collectionName + " name does not match the selected " + collectionName; + const errorMessage = "Input " + collectionName + " id does not match the selected " + collectionName; setFormError(errorMessage); NotificationConsoleUtils.logConsoleError( `Error while deleting ${collectionName} ${collection.id()}: ${errorMessage}`