Просмотр исходного кода

fix: editor-codeblock crash on insert

NGPixel 8 лет назад
Родитель
Сommit
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', {
         this.$store.dispatch('alert', {
           style: 'blue',
           style: 'blue',
           icon: 'inbox',
           icon: 'inbox',
-          msg: self.$t('editor.codeblocksuccess')
+          msg: this.$t('editor.codeblocksuccess')
         })
         })
         this.cancel()
         this.cancel()
       }
       }