spravne poradie inicializacie tabov

This commit is contained in:
2020-04-01 23:01:06 +02:00
parent 5dd286b19d
commit 062847673d

View File

@@ -89,7 +89,11 @@
} else { } else {
return; return;
} }
for (s in settings) {
settings[s].show = false;
};
app.settings["network"].show = true;
axios.get('{{ url('/data') }}', { axios.get('{{ url('/data') }}', {
params: { params: {
@@ -99,10 +103,6 @@
} }
}) })
.then(function (response) { .then(function (response) {
for (s in settings) {
settings[s].show = false;
};
app.settings["network"].show = true;
app.chartData = response.data; app.chartData = response.data;
app.counter += 1; app.counter += 1;