From 4ef9149adc693b5933473008eb2e9778c58dafa4 Mon Sep 17 00:00:00 2001
From: "jakob.dieterle" <jakob.dieterle@stud.uni-goettingen.de>
Date: Wed, 22 Jun 2022 12:53:52 +0200
Subject: [PATCH] fix changelog component

---
 frontend/src/api.ts                   | 2 +-
 frontend/src/components/ChangeLog.vue | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/frontend/src/api.ts b/frontend/src/api.ts
index eedfc67a..0a9b569c 100644
--- a/frontend/src/api.ts
+++ b/frontend/src/api.ts
@@ -284,7 +284,7 @@ export function disableAccount (accessToken: string, userPk: string) {
 
 export async function fetchReleases () {
   const id = 'j.michal%2Fgrady'
-  const url = `https://gitlab.gwdg.de/api/v4/projects/${id}/releases`
+  const url = `https://gitlab.gwdg.de/api/v4/projects/${id}/releases?include_html_description=true`
   return (await ax.get(url)).data as GitlabRelease[]
 }
 
diff --git a/frontend/src/components/ChangeLog.vue b/frontend/src/components/ChangeLog.vue
index a1785ab2..04992ac1 100644
--- a/frontend/src/components/ChangeLog.vue
+++ b/frontend/src/components/ChangeLog.vue
@@ -6,7 +6,7 @@
       <v-toolbar-title
         style="min-width: fit-content;"
       >
-        Change Log
+        <span class="title">Changelog</span>
       </v-toolbar-title>
       <v-spacer />
       <span style="font-size:16px;">
@@ -67,6 +67,7 @@ const Changelog = Vue.extend({
       try {
         this.releases = await api.fetchReleases()
         this.version = (await api.fetchConfig()).version
+        console.log(this.releases)
       }
       catch (ex) {
         throw new Error('Error fetching grady version.')
-- 
GitLab