瀏覽代碼

Feature: Add my pins

pull/169/head
winkidney 5 年之前
committed by Isaac Bythewood
父節點
當前提交
fc045b6cec
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -1
      pinry-spa/src/components/PHeader.vue
  2. +1
    -0
      pinry-spa/src/components/Pins.vue

+ 1
- 1
pinry-spa/src/components/PHeader.vue 查看文件

@@ -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>


+ 1
- 0
pinry-spa/src/components/Pins.vue 查看文件

@@ -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;


Loading…
取消
儲存