Skip to content

Commit

Permalink
actually need conditions here
Browse files Browse the repository at this point in the history
  • Loading branch information
suddjian committed Mar 31, 2021
1 parent 09dd21b commit 9256762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/dashboard/components/SaveModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9256762

Please sign in to comment.