Skip to content

Commit

Permalink
fix: Rename DashboardList properties for recent panel versions
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic-padraic committed Jul 31, 2024
1 parent 1b60197 commit 152f6e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3958,15 +3958,15 @@ def to_json_data(self):
'overrides': self.overrides
},
'options': {
'headings': self.showHeadings,
'search': self.showSearch,
'showHeadings': self.showHeadings,
'showSearch': self.showSearch,
'recent': self.showRecent,
'starred': self.showStarred,
'limit': self.maxItems,
'showStarred': self.showStarred,
'maxItems': self.maxItems,
'query': self.searchQuery,
'tags': self.searchTags,
'type': DASHBOARDLIST_TYPE,
},
'type': DASHBOARDLIST_TYPE,
}
if self.folderUID is not None:
panel_data['options']['folderUID'] = self.folderUID
Expand Down

0 comments on commit 152f6e8

Please sign in to comment.