Explorar el Código

[ADD] fold/unfold menu on POS

Gogs hace 7 años
padre
commit
42bb9309c9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/index.js

+ 2 - 0
src/index.js

@@ -12,6 +12,7 @@ openerp.eiru_pos = (instance, local) => {
 
     local.PosWidget = instance.Widget.extend({
         start() {
+            instance.eiru_theme.instance.hide()
             this.vm = new Vue({
                 store,
                 el: this.el,
@@ -25,6 +26,7 @@ openerp.eiru_pos = (instance, local) => {
             this.vm.$destroy()
             $(this.vm.$el).remove()
             this.vm = null
+            instance.eiru_theme.instance.show()
         }
     })