feat: add default advanced setting ui callouts (#285)
This commit is contained in:
@@ -21,7 +21,7 @@ export const apiMethods = {
|
||||
fetchCourseDetails: ({ studioEndpointUrl, learningContextId }) => get(
|
||||
urls.courseDetailsUrl({ studioEndpointUrl, learningContextId }),
|
||||
),
|
||||
fetchAdvanceSettings: ({ studioEndpointUrl, learningContextId }) => get(
|
||||
fetchAdvancedSettings: ({ studioEndpointUrl, learningContextId }) => get(
|
||||
urls.courseAdvanceSettings({ studioEndpointUrl, learningContextId }),
|
||||
),
|
||||
uploadAsset: ({
|
||||
|
||||
@@ -61,6 +61,11 @@ export const problemDataProps = {
|
||||
afterAtempts: PropTypes.number,
|
||||
}),
|
||||
showResetButton: PropTypes.bool,
|
||||
defaultSettings: PropTypes.shape({
|
||||
max_attempts: PropTypes.number,
|
||||
showanswer: PropTypes.string,
|
||||
show_reset_button: PropTypes.bool,
|
||||
}),
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user