Skip to content

Commit 72d2839

Browse files
authored
fix cloned challenge osmIdProperty issue (#2785)
1 parent 7b413aa commit 72d2839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AdminPane/Manage/ManageChallenges/EditChallenge/Schemas/PropertiesSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const jsSchema = (intl, user, challengeData) => {
5454
* > proper markup
5555
*/
5656
export const uiSchema = (intl, user, challengeData, extraErrors, options = {}) => {
57-
const sourceReadOnly = !AsEditableChallenge(challengeData).hasZeroTasks();
57+
const sourceReadOnly = AsEditableChallenge(challengeData).isSourceReadOnly();
5858
const isCollapsed = options.longForm && (options.collapsedGroups || []).indexOf(STEP_ID) === -1;
5959
const toggleCollapsed =
6060
options.longForm && options.toggleCollapsed

0 commit comments

Comments
 (0)