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 patch in template editor
  • Loading branch information
mafredri committed Jul 12, 2023
commit 5904c6d1821e9aba0e733757e791ea4f01a2dff5
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export const templateVersionEditorMachine = createMachine(
}
await Promise.all([
// Only do a patch if the name is different
name !== version.name
name !== version.name || message !== version.message
? API.patchTemplateVersion(version.id, { name, message })
: Promise.resolve(),
isActiveVersion
Expand Down