mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
[dashboards] Fix, missing mulexport permission (#8942)
* [dashboards] Fix, missing mulexport permission * [dashboards] Fix, missing mulexport permission
This commit is contained in:
committed by
Maxime Beauchemin
parent
2d456e88eb
commit
5bc3d24b2f
@@ -44,8 +44,7 @@ class DashboardModelView(
|
||||
datamodel = SQLAInterface(models.Dashboard)
|
||||
|
||||
@action("mulexport", __("Export"), __("Export dashboards?"), "fa-database")
|
||||
@staticmethod
|
||||
def mulexport(items):
|
||||
def mulexport(self, items): # pylint: disable=no-self-use
|
||||
if not isinstance(items, list):
|
||||
items = [items]
|
||||
ids = "".join("&id={}".format(d.id) for d in items)
|
||||
|
||||
Reference in New Issue
Block a user