Skip to content

Commit

Permalink
Merge pull request #5571 from nextcloud/fix/public_shares_links
Browse files Browse the repository at this point in the history
fix(links): set default for `loadState('core', 'active-app')`
  • Loading branch information
juliusknorr authored Mar 26, 2024
2 parents d52c2d7 + 1f74da4 commit e4c0fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const domHref = function(node, relativePath) {
return ref
}
// Don't rewrite links in collectives app context
if (loadState('core', 'active-app') === 'collectives') {
if (loadState('core', 'active-app', '') === 'collectives') {
return ref
}
// Don't rewrite links to the collectives app
Expand Down

0 comments on commit e4c0fe8

Please sign in to comment.