Skip to content

Commit

Permalink
Cell Invitation message : set LinkPath in template data
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 13, 2024
1 parent eeb1119 commit 544f123
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ class ShareHelper {
} else {
templateId = "Cell";
templateData["Cell"] = cellModel.getLabel();
const repo = Pydio.getInstance().user.getRepositoriesList().get(cellModel.cell.Uuid)
if(repo && repo.getSlug()) {
templateData["LinkPath"] = "/ws-" + repo.getSlug();
}
}

return {
Expand Down

0 comments on commit 544f123

Please sign in to comment.