fix: get syncInterval from model instead of module data (#3003)
This commit is contained in:
		| @@ -19,7 +19,7 @@ module.exports = { | |||||||
|           ...targetInfo, |           ...targetInfo, | ||||||
|           ...tgt, |           ...tgt, | ||||||
|           hasSchedule: (targetInfo.schedule !== false), |           hasSchedule: (targetInfo.schedule !== false), | ||||||
|           syncInterval: targetInfo.syncInterval || targetInfo.schedule || 'P0D', |           syncInterval: tgt.syncInterval || targetInfo.schedule || 'P0D', | ||||||
|           syncIntervalDefault: targetInfo.schedule, |           syncIntervalDefault: targetInfo.schedule, | ||||||
|           config: _.sortBy(_.transform(tgt.config, (res, value, key) => { |           config: _.sortBy(_.transform(tgt.config, (res, value, key) => { | ||||||
|             const configData = _.get(targetInfo.props, key, false) |             const configData = _.get(targetInfo.props, key, false) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user