mongo profile view - shows collection tab

This commit is contained in:
Jan Prochazka
2022-12-16 09:42:38 +01:00
parent 11daa56335
commit c1ba758b01
3 changed files with 38 additions and 9 deletions

View File

@@ -417,10 +417,22 @@ const driver = {
header: 'All',
command: 'profileAll',
},
// {
// header: 'View',
// openQuery: "db['system.profile'].find()",
// tabTitle: 'Profile data',
// },
{
header: 'View',
openQuery: "db['system.profile'].find()",
tabTitle: 'Profile data',
openTab: {
title: 'system.profile',
icon: 'img collection',
tabComponent: 'CollectionDataTab',
props: {
pureName: 'system.profile',
},
},
addDbProps: true,
},
],
},