Skip to content

Commit

Permalink
Fix content type draftable settings
Browse files Browse the repository at this point in the history
Fix #16907
  • Loading branch information
MikeAlhayek committed Oct 18, 2024
1 parent f7c4fe3 commit f951e1b
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 f951e1b

Please sign in to comment.