tauri-app: use patch version from recorded game; or latest
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m11s
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m11s
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import { ref, onMounted } from "vue";
|
||||
import GameHistory from "./components/GameHistory.vue";
|
||||
import GameReview from "./components/GameReview.vue";
|
||||
import Settings from "./components/Settings.vue";
|
||||
import type { GameHistoryItem } from "./types/timeline";
|
||||
import { fetchLatestDdragonVersion } from "./types/ddragon";
|
||||
|
||||
// Current view state
|
||||
const currentView = ref<"history" | "review" | "settings">("history");
|
||||
@@ -30,6 +31,11 @@ function openSettings() {
|
||||
function closeSettings() {
|
||||
currentView.value = "history";
|
||||
}
|
||||
|
||||
// Initialize DDragon version on app mount
|
||||
onMounted(() => {
|
||||
fetchLatestDdragonVersion();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user