Преглед на файлове

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()
       }