Skip to content

Commit

Permalink
fix show('forms')
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 29, 2024
1 parent 4f0f69d commit 3b63f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AutoQueryGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const emit = defineEmits<{
const client = inject<JsonServiceClient>('client')!
const allAllow = 'filtering,queryString,queryFilters'.split(',') as GridAllowOptions[]
const allShow = 'copyApiUrl,downloadCsv,filtersView,newItem,pagingInfo,pagingNav,preferences,refresh,resetPreferences,toolbar'.split(',') as GridShowOptions[]
const allShow = 'copyApiUrl,downloadCsv,filtersView,newItem,pagingInfo,pagingNav,preferences,refresh,resetPreferences,toolbar,forms'.split(',') as GridShowOptions[]
const allowOptions = computed<{[k:string]:boolean}>(() => props.deny ? asOptions(allAllow,props.deny) : asOptions(allAllow,aqd.value.deny))
const showOptions = computed<{[k:string]:boolean}>(() => props.hide ? asOptions(allShow,props.hide) : asOptions(allShow,aqd.value.hide))
Expand Down

0 comments on commit 3b63f13

Please sign in to comment.