mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-10-11 04:26:37 +01:00
[Query Copilot] New Query button added on Items section (#1552)
Co-authored-by: Predrag Klepic <[email protected]>
This commit is contained in:
co-authored by
Predrag Klepic
parent
8ea8f0230f
commit
44e25c0769
@@ -17,7 +17,7 @@ export const SampleDataTree = ({
|
||||
const buildSampleDataTree = (): TreeNode => {
|
||||
const updatedSampleTree: TreeNode = {
|
||||
label: sampleDataResourceTokenCollection.databaseId,
|
||||
isExpanded: true,
|
||||
isExpanded: false,
|
||||
iconSrc: CosmosDBIcon,
|
||||
className: "databaseHeader",
|
||||
children: [
|
||||
@@ -47,6 +47,7 @@ export const SampleDataTree = ({
|
||||
{
|
||||
label: "Items",
|
||||
onClick: () => sampleDataResourceTokenCollection.onDocumentDBDocumentsClick(),
|
||||
contextMenu: ResourceTreeContextMenuButtonFactory.createSampleCollectionContextMenuButton(),
|
||||
isSelected: () =>
|
||||
useSelectedNode
|
||||
.getState()
|
||||
|
||||
Reference in New Issue
Block a user