From 4c245f93e4101a6a467403fd3fb45c0323bc792e Mon Sep 17 00:00:00 2001 From: wyang14 Date: Tue, 9 Apr 2024 01:09:44 +0100 Subject: [PATCH] confirm before deleting knowledge base --- components/KnowledgeBaseDeletePrompt.vue | 28 +++++++++++++++++++ pages/knowledgebases/index.vue | 34 ++++++++++++++++++------ 2 files changed, 54 insertions(+), 8 deletions(-) create mode 100644 components/KnowledgeBaseDeletePrompt.vue diff --git a/components/KnowledgeBaseDeletePrompt.vue b/components/KnowledgeBaseDeletePrompt.vue new file mode 100644 index 0000000..dbeae76 --- /dev/null +++ b/components/KnowledgeBaseDeletePrompt.vue @@ -0,0 +1,28 @@ + + + diff --git a/pages/knowledgebases/index.vue b/pages/knowledgebases/index.vue index d915d0b..48f8287 100644 --- a/pages/knowledgebases/index.vue +++ b/pages/knowledgebases/index.vue @@ -1,8 +1,9 @@