import scaffoldings

This commit is contained in:
Gani Georgiev
2022-08-05 06:00:38 +03:00
parent 95f9d685dc
commit f459dd8812
25 changed files with 1362 additions and 261 deletions

View File

@@ -36,7 +36,7 @@ func NewCollectionUpsert(app core.App, collection *models.Collection) *Collectio
form := &CollectionUpsert{
app: app,
collection: collection,
isCreate: !collection.HasId(),
isCreate: collection.IsNew(),
}
// load defaults