webapp: Upgrade from Javascript to TypeScript

This commit is contained in:
Thomas Basler
2022-06-21 20:16:37 +02:00
parent 3b9d117b4d
commit c8075d533f
16 changed files with 404 additions and 118 deletions

View File

@@ -97,11 +97,11 @@ export default {
if (this.isFirstFetchAfterConnect) {
this.isFirstFetchAfterConnect = false;
var firstTabEl = this.$el.querySelector(
const firstTabEl = this.$el.querySelector(
"#v-pills-tab:first-child button"
);
if (firstTabEl != null) {
var firstTab = new bootstrap.Tab(firstTabEl);
const firstTab = new bootstrap.Tab(firstTabEl);
firstTab.show();
}
}