Browse Source

refactor(nc-gui): remove collapse block

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
52d48b1503
  1. 8
      packages/nc-gui/components/webhook/Test.vue

8
packages/nc-gui/components/webhook/Test.vue

@ -17,7 +17,6 @@ const meta = inject(MetaInj, ref())
const sampleData = ref({ const sampleData = ref({
data: {}, data: {},
}) })
const activeKey = ref(0)
watch( watch(
() => hook?.operation, () => hook?.operation,
@ -59,9 +58,6 @@ onMounted(async () => {
</script> </script>
<template> <template>
<a-collapse v-model:activeKey="activeKey" ghost> <div class="mb-4 font-weight-medium">Sample Payload</div>
<a-collapse-panel key="1" header="Sample Payload"> <LazyMonacoEditor v-model="sampleData" class="min-h-60 max-h-80" />
<LazyMonacoEditor v-model="sampleData" class="min-h-60 max-h-80" />
</a-collapse-panel>
</a-collapse>
</template> </template>

Loading…
Cancel
Save