diff --git a/src/composables/useFormGeneralConfig.ts b/src/composables/useFormGeneralConfig.ts index 180762b..fd0f4ed 100644 --- a/src/composables/useFormGeneralConfig.ts +++ b/src/composables/useFormGeneralConfig.ts @@ -1,6 +1,10 @@ +import { reactive, toRefs } from 'vue' import type { KongManagerBaseFormConfig } from '@kong-ui-public/entities-shared' import { useBaseGeneralConfig } from './useBaseGeneralConfig' export const useFormGeneralConfig = () => { - return useBaseGeneralConfig() as Pick + return reactive({ + ...toRefs(useBaseGeneralConfig()), + jsonYamlFormsEnabled: true, + }) as Pick }