Skip to content

Commit

Permalink
add save name to overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni009 committed Aug 8, 2024
1 parent 256570b commit 5c7206b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pages/GeneralStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ const saveDataStore = useSaveDataStore();
const { data } = storeToRefs(saveDataStore);
const playTime = computed(() => formatTime(data.value?.CommonStateData.TotalPlayTime));
const saveName = computed(() => data.value?.CommonStateData.SaveName);
</script>

<template>
<div>Playtime:</div>
<div>{{ playTime }}</div>
<div>
<span>Name:</span> <span>{{ saveName }}</span>
</div>

<div>
<span>Playtime:</span> <span>{{ playTime }}</span>
</div>
</template>

0 comments on commit 5c7206b

Please sign in to comment.