Version 1.4.1 (#70)
- #69 Partager ma collection Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: #70
This commit is contained in:
parent
1d59ee3b71
commit
9fe49eca27
2 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ if (typeof isPublicCollection !== "undefined") {
|
||||||
itemId: null,
|
itemId: null,
|
||||||
showModalDelete: false,
|
showModalDelete: false,
|
||||||
showModalShare: false,
|
showModalShare: false,
|
||||||
shareLink: `${protocol}//${host}/collection/<%= user._id %>`,
|
shareLink: `${protocol}//${host}/collection/${userId}`,
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
isPublicCollection,
|
isPublicCollection,
|
||||||
};
|
};
|
||||||
|
|
|
@ -197,4 +197,5 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const isPublicCollection = <%= user.isPublicCollection ? 'true' : 'false' %>;
|
const isPublicCollection = <%= user.isPublicCollection ? 'true' : 'false' %>;
|
||||||
|
const userId = "<%= user._id %>";
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue