Skip to content

Commit

Permalink
[pocketbase#3090] fixed relation to view error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Aug 8, 2023
1 parent f90da96 commit bd18688
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- Enabled lazy loading for the Admin UI thumb images.

- Fixed the error messages for relation to views ([#3090](https://github.com/pocketbase/pocketbase/issues/3090)).


## v0.17.2

Expand Down
2 changes: 1 addition & 1 deletion forms/collection_upsert.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func (form *CollectionUpsert) checkRelationFields(value any) error {
"options": validation.Errors{
"collectionId": validation.NewError(
"validation_field_non_view_base_relation_collection",
"Non view collections are now allowed to have a view relation.",
"Non view collections are not allowed to have a view relation.",
),
}},
}
Expand Down

0 comments on commit bd18688

Please sign in to comment.