Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow removing the default template from doc types #17516

Merged

Conversation

bergmania
Copy link
Member

Fixes: #17513

Description

Fixed issue where it was not possible to remove the last (default) template from a doc type.

The issue was because the payload was wrong

{
...
   "defaultTemplate": {
      "id": ""
   }
...
}

instead of the expected

{
...
   "defaultTemplate": null
...
}

Copy link
Contributor

@madsrasmussen madsrasmussen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good and it works as expected 🥳

@madsrasmussen madsrasmussen merged commit a342734 into v15/dev Nov 13, 2024
15 of 19 checks passed
@madsrasmussen madsrasmussen deleted the v15/bugfix/17513-allow-remove-templates-from-doc-types branch November 13, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants