Browse Source

kapoies allages pou ekana gia na dixo sta paidia

master
zeus 4 years ago
parent
commit
45420fd7f4
  1. 4
      src-local/llo/new.js
  2. 6
      src/components/mynetwork/builderservices.vue
  3. 2
      src/components/mynetwork/mytable.vue

4
src-local/llo/new.js

@ -2176,12 +2176,12 @@ SSH_PORT=
//process.kill(-KILL); //process.kill(-KILL);
var n = {} var n = {}
n.data = 'KILL '+KILL n.data = 'KILL '+KILL
io.emit('message_out', n); //io.emit('message_out', n);
io.emit('message_close', n); io.emit('message_close', n);
}else{ }else{
var n = {} var n = {}
n.data = 'KILL false ' n.data = 'KILL false '
io.emit('message_out', n); //io.emit('message_out', n);
io.emit('message_close', n); io.emit('message_close', n);
} }

6
src/components/mynetwork/builderservices.vue

@ -260,7 +260,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.$root.$on('SERVER_build_close_build', (v) => { this.$root.$on('SERVER_build_closebuild', (v) => {
console.log('build from server '+JSON.stringify(v)) console.log('build from server '+JSON.stringify(v))
if(v.build == "ok" && v.file !== 'false'){ if(v.build == "ok" && v.file !== 'false'){
Vue.set(this.build_file, v.name, v.name) Vue.set(this.build_file, v.name, v.name)
@ -302,7 +302,7 @@ export default {
confirmButtonText: 'ok! ' confirmButtonText: 'ok! '
}) })
} }
Vue.nextTick( () => this.$refs.vuetable.refresh()) this.refreshVuetable()
}) })
}, },
created() { created() {
@ -313,7 +313,7 @@ export default {
}, },
beforeDestroy () { beforeDestroy () {
this.$root.$off('SERVER_build_close_build') this.$root.$off('SERVER_build_closebuild')
}, },
computed: { computed: {
httpOptions() { httpOptions() {

2
src/components/mynetwork/mytable.vue

@ -872,7 +872,7 @@ info +='This permits the docker user on the local machine to connect to X window
}, },
async message_close_build(val) { async message_close_build(val) {
// refresh table hybrid storage // refresh table hybrid storage
this.$root.$emit('SERVER_build_close_build',val) this.$root.$emit('SERVER_build_closebuild',val)
//this.$root.$emit('hybrid_refresh_table_storage') //this.$root.$emit('hybrid_refresh_table_storage')
}, },
async build_set_sshpid(val) { async build_set_sshpid(val) {

Loading…
Cancel
Save