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