mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(alerts): Select tabs to send backend (#17749)
* Adding the extra config and validation * wip * reports working * Tests working * fix type * Fix lint errors * Fixing type issues * add licence header * fix the fixture deleting problem * scope to session * fix integration test * fix review comments * fix review comments patch 2 Co-authored-by: Grace Guo <grace.guo@airbnb.com>
This commit is contained in:
@@ -80,7 +80,6 @@ def create_dashboard(
|
||||
slug: str, title: str, position: str, slices: List[Slice]
|
||||
) -> Dashboard:
|
||||
dash = db.session.query(Dashboard).filter_by(slug=slug).one_or_none()
|
||||
|
||||
if not dash:
|
||||
dash = Dashboard()
|
||||
dash.dashboard_title = title
|
||||
|
||||
Reference in New Issue
Block a user