mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Trim version name input (#4462)
This commit is contained in:
parent
2fca8b1560
commit
a3af49c631
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ export const AppVersionsManager = function AppVersionsManager({
|
|||
};
|
||||
|
||||
const createVersion = (versionName, createAppVersionFrom) => {
|
||||
if (versionName.trim() !== '') {
|
||||
versionName = versionName.trim();
|
||||
if (versionName !== '') {
|
||||
setIsCreatingVersion(true);
|
||||
appVersionService
|
||||
.create(appId, versionName, createAppVersionFrom.id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue