diff --git a/public/app/features/dashboard/dashgrid/DashboardRow.tsx b/public/app/features/dashboard/dashgrid/DashboardRow.tsx index 74dedc6e8b8..00999e4005e 100644 --- a/public/app/features/dashboard/dashgrid/DashboardRow.tsx +++ b/public/app/features/dashboard/dashgrid/DashboardRow.tsx @@ -48,7 +48,7 @@ export class DashboardRow extends React.Component { let text2 = ''; if (this.props.panel.panels.length) { - text2 = `This will also remove row's ${this.props.panel.panels.length} hidden panels`; + text2 = `This will also remove the row's ${this.props.panel.panels.length} panels`; } appEvents.emit('confirm-modal', { @@ -71,6 +71,7 @@ export class DashboardRow extends React.Component { 'fa-chevron-down': !this.state.collapsed, 'fa-chevron-right': this.state.collapsed, }); + const hiddenPanels = this.props.panel.panels ? this.props.panel.panels.length : 0; return ( diff --git a/public/app/features/dashboard/dashnav/dashnav.html b/public/app/features/dashboard/dashnav/dashnav.html index aef4bb7484e..c23a15aa208 100644 --- a/public/app/features/dashboard/dashnav/dashnav.html +++ b/public/app/features/dashboard/dashnav/dashnav.html @@ -1,11 +1,7 @@