v0.10.302 #2

Merged
didirus merged 289 commits from feature-clean into beta 2025-07-08 15:00:09 +00:00
2 changed files with 12 additions and 10 deletions
Showing only changes of commit 8faea1663a - Show all commits

View File

@@ -195,14 +195,16 @@ async function setupApp() {
.then((res) => {
if (res && res.articles) {
// Format expected by NewsArticleCard component.
news.value = res.articles.map((article) => ({
...article,
path: article.link,
thumbnail: article.thumbnail,
title: article.title,
summary: article.summary,
date: article.date,
})).slice(0, 4)
news.value = res.articles
.map((article) => ({
...article,
path: article.link,
thumbnail: article.thumbnail,
title: article.title,
summary: article.summary,
date: article.date,
}))
.slice(0, 4)
}
})

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { Dayjs } from 'dayjs';
import type { Dayjs } from 'dayjs'
import dayjs from 'dayjs'
import {
EyeIcon,
@@ -42,7 +42,7 @@ const emit = defineEmits<{
}>()
const props = defineProps<{
instance: GameInstance,
instance: GameInstance
last_played: Dayjs
}>()