#73 - Savoir sur quelle page on est

This commit is contained in:
Damien Broqua 2023-01-17 17:08:41 +01:00
parent 8822056c1f
commit fe3ed3e91f
2 changed files with 9 additions and 4 deletions

View file

@ -6,7 +6,8 @@ if (typeof isPublicCollection !== "undefined") {
moreFilters: false,
items: [],
total: 0,
page: 1,
// eslint-disable-next-line no-undef
page: query.page || 1,
totalPages: 1,
limit: 16,
artist: "",
@ -20,9 +21,12 @@ if (typeof isPublicCollection !== "undefined") {
itemId: null,
showModalDelete: false,
showModalShare: false,
// eslint-disable-next-line no-undef
shareLink: `${protocol}//${host}/collection/${userId}`,
// eslint-disable-next-line no-undef
isPublicCollection,
// eslint-disable-next-line no-undef
query,
};
},
created() {