fixed module action import/export, improved module installation

This commit is contained in:
Shaun Walker
2020-05-01 15:58:34 -04:00
parent 3afa489f22
commit 45aeb17020
3 changed files with 10 additions and 4 deletions

View File

@ -367,7 +367,7 @@ namespace Oqtane.Infrastructure
}
}
}
if (moduledefinition.Version != versions[versions.Length - 1])
if (string.IsNullOrEmpty(result.Message) && moduledefinition.Version != versions[versions.Length - 1])
{
moduledefinition.Version = versions[versions.Length - 1];
db.Entry(moduledefinition).State = EntityState.Modified;