File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/material-tree-renderer/example Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as _ from 'lodash';
55import {
66 Actions ,
77 jsonformsReducer ,
8- JsonSchema7 ,
8+ JsonSchema ,
99 NOT_APPLICABLE ,
1010 UISchemaElement ,
1111 UISchemaTester
@@ -52,7 +52,7 @@ const isTask = schema => _.has(schema.properties, 'done');
5252const isUser = schema => _ . has ( schema . properties , 'birthday' ) ;
5353
5454const calculateLabel =
55- ( schema : JsonSchema7 ) => ( element : any ) : string => {
55+ ( schema : JsonSchema ) => ( element : any ) : string => {
5656
5757 if ( isUserGroup ( schema ) ) {
5858 return `User Group ${ element . label || '' } ` ;
@@ -69,7 +69,7 @@ const calculateLabel =
6969 return 'Unknown' ;
7070 } ;
7171
72- const imageGetter = ( schema : JsonSchema7 ) => {
72+ const imageGetter = ( schema : JsonSchema ) => {
7373
7474 if ( isTask ( schema ) ) {
7575 return 'icon task' ;
You can’t perform that action at this time.
0 commit comments