DescriptionThe Linkwarden widget shows links and collections counts correctly, but the tags block is always empty (no value displayed, no error shown). The widget (src/widgets/linkwarden/component.jsx) expects GET {url}/api/v1/tags to return a raw array: The current Linkwarden API returns a paginated object instead: So Array.isArray(tags) is false → tagsTotal = null → the block stays empty. /api/v1/collections still returns a raw array, which is why collections works. Suggested fix (handle both shapes): const tags = tagsStatsData?.response ?? tagsStatsData?.data?.tags ?? tagsStatsData; homepage versionv2.0.0 (17456f2, Aug 14, 2026) Installation methodDocker ConfigurationLinkwarden discovery by tag in compose file:
homepage.group: "Cloud Services"
homepage.name: "Linkwarden"
homepage.widget.type: "linkwarden"
homepage.widget.url: "http://linkwarden.local.domain.tld:3000"
homepage.widget.key: "<access-token>"Container Logsno widget-specific errors in the homepage container logs — the tags block is simply empty (no fetch error surfaced by the widget). Browser Logsno browser console errors observed. Troubleshootingverified the API response shape directly
|
Replies: 3 comments
This comment was marked as spam.
This comment was marked as spam.
|
Thanks, seems like their API changed again, should be easy enough to handle. |
|
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Thanks, seems like their API changed again, should be easy enough to handle.
#7018