소스 검색

fix: editor-codeblock crash on insert

NGPixel 8 년 전
부모
커밋
fa098f8ece
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/js/components/editor-codeblock.vue

+ 1 - 1
client/js/components/editor-codeblock.vue

@@ -110,7 +110,7 @@
         this.$store.dispatch('alert', {
           style: 'blue',
           icon: 'inbox',
-          msg: self.$t('editor.codeblocksuccess')
+          msg: this.$t('editor.codeblocksuccess')
         })
         this.cancel()
       }