mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 18:05:51 +01:00
Feature: Add my pins
This commit is contained in:
committed by
Isaac Bythewood
parent
dfe6e46dcc
commit
fc045b6cec
@@ -36,7 +36,7 @@
|
|||||||
Boards
|
Boards
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link
|
<router-link
|
||||||
to="/pins"
|
:to="{ name: 'user', params: {user: user.meta.username} }"
|
||||||
class="navbar-item">
|
class="navbar-item">
|
||||||
Pins
|
Pins
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ function createImageItem(pin) {
|
|||||||
const image = {};
|
const image = {};
|
||||||
image.url = pinHandler.escapeUrl(pin.image.thumbnail.image);
|
image.url = pinHandler.escapeUrl(pin.image.thumbnail.image);
|
||||||
image.id = pin.id;
|
image.id = pin.id;
|
||||||
|
image.owner_id = pin.submitter.id;
|
||||||
image.description = pin.description;
|
image.description = pin.description;
|
||||||
image.tags = pin.tags;
|
image.tags = pin.tags;
|
||||||
image.author = pin.submitter.username;
|
image.author = pin.submitter.username;
|
||||||
|
|||||||
Reference in New Issue
Block a user