This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit b930cdb137192075dad0a0e5325ce0a5b6cd5b03
Author: Qian Xia <lauraxiaq...@gmail.com>
AuthorDate: Tue Jun 6 16:52:09 2023 +0800

    KYLIN-5553 display the result when run show create table
---
 kystudio/src/components/studio/DDL/ddl.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kystudio/src/components/studio/DDL/ddl.vue 
b/kystudio/src/components/studio/DDL/ddl.vue
index 17d0214873..4042ae762a 100644
--- a/kystudio/src/components/studio/DDL/ddl.vue
+++ b/kystudio/src/components/studio/DDL/ddl.vue
@@ -153,7 +153,7 @@
         const resultData = await handleSuccessAsync(res)
         this.running = false
         this.showCreateSuccessAlert = 
this.content.toLocaleLowerCase().indexOf('create view') > -1
-        this.showCreateSuccessAlert && 
this.insertEditorContent(`\n\n${resultData}`)
+        resultData && this.insertEditorContent(`\n\n${resultData}`)
         this.resetErrorMsg()
         this.$message({ type: 'success', message: this.$t('runSuccess') })
       } catch (e) {

Reply via email to