|
@@ -142,7 +142,9 @@ export const TreeContextMenu = (props: {
|
|
component: (
|
|
component: (
|
|
<DropCollectionDialog
|
|
<DropCollectionDialog
|
|
collections={[contextMenu.object] as CollectionObject[]}
|
|
collections={[contextMenu.object] as CollectionObject[]}
|
|
- onDelete={async () => {}}
|
|
|
|
|
|
+ onDelete={async () => {
|
|
|
|
+ navigate(`/databases/${database}`);
|
|
|
|
+ }}
|
|
/>
|
|
/>
|
|
),
|
|
),
|
|
},
|
|
},
|