mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
actually need conditions here
This commit is contained in:
parent
09dd21beb9
commit
9256762d44
@ -140,7 +140,7 @@ class SaveModal extends React.PureComponent<SaveModalProps, SaveModalState> {
|
||||
// check refresh frequency is for current session or persist
|
||||
const refreshFrequency = shouldPersistRefreshFrequency
|
||||
? currentRefreshFrequency
|
||||
: dashboardInfo.metadata.refresh_frequency; // eslint-disable camelcase
|
||||
: dashboardInfo.metadata?.refresh_frequency; // eslint-disable camelcase
|
||||
|
||||
const data = {
|
||||
positions,
|
||||
|
Loading…
Reference in New Issue
Block a user