1.4.2 #78
2 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ if (typeof isPublicCollection !== "undefined") {
|
|||
itemId: null,
|
||||
showModalDelete: false,
|
||||
showModalShare: false,
|
||||
shareLink: `${protocol}//${host}/collection/<%= user._id %>`,
|
||||
shareLink: `${protocol}//${host}/collection/${userId}`,
|
||||
// eslint-disable-next-line no-undef
|
||||
isPublicCollection,
|
||||
};
|
||||
|
|
|
@ -197,4 +197,5 @@
|
|||
|
||||
<script>
|
||||
const isPublicCollection = <%= user.isPublicCollection ? 'true' : 'false' %>;
|
||||
const userId = "<%= user._id %>";
|
||||
</script>
|
Loading…
Reference in a new issue