AppInfo: fix linter error + use app manifest id for forum link

This commit is contained in:
Axolotle 2023-09-29 14:32:48 +02:00 committed by GitHub
parent 86002daa29
commit 215ee0a48c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -408,8 +408,8 @@ export default {
links: [
['license', `https://spdx.org/licenses/${app.manifest.upstream.license}`],
...['website', 'admindoc', 'userdoc', 'code'].map((key) => ([key, app.manifest.upstream[key]])),
['package', app.from_catalog.git.url ],
['forum', `https://forum.yunohost.org/tag/${this.id}`]
['package', app.from_catalog.git.url],
['forum', `https://forum.yunohost.org/tag/${app.manifest.id}`]
].filter(([key, val]) => !!val),
doc: {
notifications: {