Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(site): display version message #8435

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

Merged
merged 14 commits into from
Jul 13, 2023
Prev Previous commit
Next Next commit
fix comment
  • Loading branch information
mafredri committed Jul 12, 2023
commit 9cdce40c61edc6df8d93b161003cf677aed945eb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const templateVersionEditorMachine = createMachine(
throw new Error("Template is not set")
}
await Promise.all([
// Only do a patch if the name is different
// Only do a patch if the data has changed.
name !== version.name || message !== version.message
? API.patchTemplateVersion(version.id, { name, message })
: Promise.resolve(),
Expand Down