feature(hierarchy tree): dynamically load, control dialog

This commit is contained in:
Azgaar 2022-06-12 00:22:39 +03:00
parent b9a578e0be
commit 6e5e570c90
8 changed files with 639 additions and 573 deletions

View file

@ -707,7 +707,6 @@ function togglePercentageMode() {
}
function showStatesChart() {
// build hierarchy tree
const statesData = pack.states.filter(s => !s.removed);
if (statesData.length < 2) return tip("There are no states to show", false, "error");