mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: dashboard edit/save errors (#10834)
* use conditional operator for lookup * editing dashboard title should update after save * uncomment test * fix json metadata save * json metadata color scheme should overwrite state * test's functionality is no longer applicable * add lastModifiedTime to DashboardInfo
This commit is contained in:
committed by
GitHub
parent
30c71fd794
commit
43b92b220f
@@ -76,7 +76,7 @@ export default class ColorSchemeControl extends React.PureComponent {
|
||||
label={`${currentScheme.id}-tooltip`}
|
||||
tooltip={currentScheme.label}
|
||||
>
|
||||
<ul className="color-scheme-container">
|
||||
<ul className="color-scheme-container" data-test={currentScheme.id}>
|
||||
{colors.map((color, i) => (
|
||||
<li
|
||||
key={`${currentScheme.id}-${i}`}
|
||||
|
||||
Reference in New Issue
Block a user