mirror of https://github.com/nocodb/nocodb
Wing-Kam Wong
2 years ago
1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@
|
||||
<script setup lang="ts"> |
||||
interface Props { |
||||
modelValue: boolean |
||||
} |
||||
|
||||
const { modelValue } = defineProps<Props>() |
||||
const emit = defineEmits(['update:modelValue']) |
||||
|
||||
const editOrAdd = ref(false) |
||||
|
||||
const dialogShow = computed({ |
||||
get() { |
||||
return modelValue |
||||
}, |
||||
set(v) { |
||||
emit('update:modelValue', v) |
||||
}, |
||||
}) |
||||
</script> |
||||
|
||||
<template> |
||||
<a-drawer v-model:visible="dialogShow" :closable="false" placement="right" width="700px" @keydown.esc="dialogShow = false"> |
||||
<WebhookEditor v-if="editOrAdd" /> |
||||
<WebhookList v-else @edit-or-add="editOrAdd = true" /> |
||||
<div class="self-center flex flex-column flex-wrap gap-4 items-center mt-4 md:mx-8 md:justify-between justify-center w-full"> |
||||
<a-button v-t="['e:hiring']" href="https://angel.co/company/nocodb" target="_blank" size="large"> |
||||
🚀 We are Hiring! 🚀 |
||||
</a-button> |
||||
</div> |
||||
</a-drawer> |
||||
</template> |
Loading…
Reference in new issue