mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Fix metric formating in Dashboard view + some refactoring (#2598)
* Fix metric formating in Dashboard view + some refactoring * Fixing build
This commit is contained in:
committed by
GitHub
parent
93c6597cf4
commit
31283f1424
@@ -396,7 +396,7 @@ class CoreTests(SupersetTestCase):
|
||||
self.client.post(url, data=dict(data=json.dumps(data)))
|
||||
dash = db.session.query(models.Dashboard).filter_by(
|
||||
id=dash_id).first()
|
||||
orig_json_data = json.loads(dash.json_data)
|
||||
orig_json_data = dash.data
|
||||
|
||||
# Verify that copy matches original
|
||||
url = '/superset/copy_dash/{}/'.format(dash_id)
|
||||
|
||||
Reference in New Issue
Block a user