Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Maximilian Michal
grady
Commits
4ef9149a
Commit
4ef9149a
authored
2 years ago
by
Jakob Dieterle
Browse files
Options
Downloads
Patches
Plain Diff
fix changelog component
parent
6765ddf5
Branches
289-fix-change-log-card
Branches containing commit
Tags
Tags containing commit
1 merge request
!292
Resolve "Fix Change Log Card"
Pipeline
#321638
passed
2 years ago
Stage: build
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/api.ts
+1
-1
1 addition, 1 deletion
frontend/src/api.ts
frontend/src/components/ChangeLog.vue
+2
-1
2 additions, 1 deletion
frontend/src/components/ChangeLog.vue
with
3 additions
and
2 deletions
frontend/src/api.ts
+
1
−
1
View file @
4ef9149a
...
...
@@ -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
[]
}
...
...
This diff is collapsed.
Click to expand it.
frontend/src/components/ChangeLog.vue
+
2
−
1
View file @
4ef9149a
...
...
@@ -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.
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment