mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: Add close button to dashboard settings (#61366)
This commit is contained in:
@@ -58,6 +58,11 @@ export function DashboardSettings({ dashboard, editview, pageNav, sectionNav }:
|
||||
const size = config.featureToggles.topnav ? 'sm' : 'md';
|
||||
|
||||
const actions = [
|
||||
config.featureToggles.topnav && (
|
||||
<Button variant="secondary" key="close" fill="outline" size={size} onClick={onClose}>
|
||||
Close
|
||||
</Button>
|
||||
),
|
||||
canSaveAs && (
|
||||
<SaveDashboardAsButton
|
||||
dashboard={dashboard}
|
||||
|
||||
Reference in New Issue
Block a user