Skip to content

Commit 020e689

Browse files
committed
fix: group resource-config
1 parent 3b0213b commit 020e689

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/data/src/resource-config/resource-config.service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Resource from 'ec.sdk/lib/resources/Resource';
55
import { CrudConfig } from '../crud/crud-config.interface';
66
import { AdminEntryInputComponent } from '../entry-form/admin-entry-input.component';
77
import { TypeConfigService } from '../model-config/type-config.service';
8+
import { DefaultInputComponent } from '../../../../node_modules/@ec.components/ui';
89

910
@Injectable()
1011
/** Contains default configurations for all kinds of resources. Used by ResourceList and ResourceForm. */
@@ -608,13 +609,14 @@ export class ResourceConfig {
608609
fields: {
609610
name: {
610611
label: this.symbol.resolve('field.label.name'),
612+
view: 'string'
611613
},
612614
permissions: {
613615
view: 'tags',
614616
display: (value) => value || [],
615617
list: false
616618
},
617-
created: this.created(this.symbol.resolve('field.label.created'), this.symbol),
619+
/* created: this.created(this.symbol.resolve('field.label.created'), this.symbol), */
618620
}
619621
}
620622
}

0 commit comments

Comments
 (0)