forked from dbroqua/MusicTopus
#73 - Savoir sur quelle page on est
This commit is contained in:
parent
8822056c1f
commit
fe3ed3e91f
2 changed files with 9 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue