algenty/grafana-flowcharting

1.0.0d - If diagram is compacted too quickly, it disappears with an error.

pauljones0 opened this issue · 0 comments

1.0.0d - “Apocalypse Diagram Collapse”: IF the diagram is compacted to quickly from resizing the window, it disappears, and this console error appears

TypeError: Cannot read properties of undefined (reading 'name')
    at FlowchartHandler.setCurrentFlowchart (flowchart_handler.ts:355:57)
    at FlowchartHandler.change (flowchart_handler.ts:92:10)
    at FlowchartHandler._convert (flowchart_handler.ts:197:10)
    at new FlowchartHandler (flowchart_handler.ts:77:12)
    at FlowchartCtrl.init_handlers (flowchart_ctrl.ts:168:31)
    at FlowchartCtrl.init_ctrl (flowchart_ctrl.ts:108:10)
    at FlowchartCtrl.link (flowchart_ctrl.ts:240:10)
    at Object.link (plugin_component.ts:51:18)
    at angular.js:1391:18
    at angular.js:11370:44 '<panel-plugin-agenty-flowcharting-panel dashboard="dashboard" panel="panel" class="panel-height-helper">'
This doesn't appear in 1.0.0b. And the workaround is to refresh the page.