neuronetio / gantt-elastic

Gantt Chart [ javascript gantt chart, gantt component, vue gantt, vue gantt chart, responsive gantt, project manager , vue projects ]
https://neuronet.io/gantt-elastic/
MIT License
1.3k stars 315 forks source link

Gantt Charts stopped working, need some help here =) #23

Closed azkdev closed 5 years ago

azkdev commented 5 years ago

Hi, after last update 10h ago, Gantt Component stopped working with the following error:

Screenshot here

Can you explain why this happened ? Thanks in advance. Below is a little piece of code, how I initialize Gantt. And why I can't get gantt instance via event 'gantt-elastic-ready' ? =) Sorry for my english :P

const gantt = new Vue({
    components: {
      'gantt-header': Header,
      'gantt-elastic': GanttElastic
    },
    data: {
      tasks: [],
      options,
      showHeader: true
    },
    computed: {
      gellastic() {
        return this.$refs.gellastic;
      },
      gellasticheader() {
        return this.$refs.gellasticheader;
      }
    },
    watch: {
      tasks() {
        setTimeout(() => {instance.setHeight(this.gellastic.state.height)}, 100);
      }
    }
  }).$mount(ganttWrapper);
neuronetio commented 5 years ago

yap, something bad happened I'm working on it, thanks for report!

azkdev commented 5 years ago

Thank you for operative answer, Leave a feedback when it will be done, thank you in advance =)

Maybe there is a problem in ligatures? Null Array

neuronetio commented 5 years ago

fixed in v0.8.1

azkdev commented 5 years ago

It works, thank you dude ;) Closed