mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-16 15:20:20 +01:00
webapp: Upgrade from Javascript to TypeScript
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user