Skip to content

Commit

Permalink
Fix content type draftable settings (#16910)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Oct 18, 2024
1 parent f7c4fe3 commit 813530f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ private static void Apply(UpdateTypeEditorContext context, ContentTypeSettingsVi
{
context.Builder.Listable(model.Listable);
}

if (options.ShowDraftable)
{
context.Builder.Draftable(model.Draftable);
}
}

private async Task<ContentTypeDefinitionDriverOptions> GetOptionsAsync(ContentTypeDefinition contentTypeDefinition, string stereotype)
Expand Down

0 comments on commit 813530f

Please sign in to comment.