Skip to content

Commit 07a882d

Browse files
authored
Merge pull request #2159 from ProgrammeVitam/bugs_13221
bugs #13221 fix(ontology): display string sizes on geo points and keyword types
2 parents 88dba57 + 445f16c commit 07a882d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/ui-frontend/projects/referential/src/app/ontology/ontology-preview/ontology-information-tab/ontology-information-tab.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class OntologyInformationTabComponent implements OnInit {
5959
this._inputOntology.collections = [];
6060
}
6161

62-
this.sizeFieldVisible = this._inputOntology.type === 'TEXT';
62+
this.sizeFieldVisible = ['TEXT', 'GEO_POINT', 'KEYWORD'].includes(this._inputOntology.type);
6363

6464
this.resetForm(this.inputOntology);
6565
this.updated.emit(false);

0 commit comments

Comments
 (0)