Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: simvalery <[email protected]>
  • Loading branch information
simvalery committed Dec 12, 2024
1 parent 9870af1 commit c9ebe41
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,9 @@ export class SchemaFormComponent implements OnInit {
if (field.customType === 'geo') {
return Object.keys(value).length === 0;
}
if (field.customType === 'sentinel') {
return JSON.stringify(value) === '{"layers":"NATURAL-COLOR","format":"image/jpeg","maxcc":null,"width":null,"height":null,"bbox":"","time":null}';
}
if (field.fields) {
for (const _field of field.fields) {
if (_field.isRef && !this.isEmptyRef(value[_field.name], _field)) {
Expand Down

0 comments on commit c9ebe41

Please sign in to comment.