File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,14 +204,26 @@ export default class I18nPlugin extends AdminForthPlugin {
204204 }
205205
206206 // if showIn is not defined, add it as empty
207- column . showIn = [ ] ;
207+ column . showIn = {
208+ show : false ,
209+ list : false ,
210+ edit : false ,
211+ create : false ,
212+ filter : false ,
213+ } ;
208214
209215 // add virtual field for incomplete
210216 resourceConfig . columns . unshift ( {
211217 name : 'fully_translated' ,
212218 label : 'Fully translated' ,
213219 virtual : true ,
214- showIn : [ 'list' , 'show' , 'filter' ] ,
220+ showIn : {
221+ show : true ,
222+ list : true ,
223+ edit : false ,
224+ create : false ,
225+ filter : true ,
226+ } ,
215227 type : AdminForthDataTypes . BOOLEAN ,
216228 } ) ;
217229 }
Original file line number Diff line number Diff line change 66 "type" : " module" ,
77 "scripts" : {
88 "build" : " tsc && rsync -av --exclude 'node_modules' custom dist/" ,
9- "rollout" : " npm run build && npm version patch && npm publish --access public && npm run rollout-next" ,
10- "rollout-next" : " npm run build && npm version prerelease --preid=next && npm publish --tag next" ,
119 "prepare" : " npm link adminforth"
1210 },
1311 "repository" : {
You can’t perform that action at this time.
0 commit comments