yusuketk 6 лет назад
Родитель
Сommit
c77c41dbaa
2 измененных файлов с 2 добавлено и 2 удалено
  1. 0 1
      src/server/models/bookmark.js
  2. 2 1
      src/server/views/widget/page_list.html

+ 0 - 1
src/server/models/bookmark.js

@@ -45,7 +45,6 @@ module.exports = function(crowi) {
     const Bookmark = this;
     const User = crowi.model('User');
 
-    // [TODO][user-profile-cache][GW-1775] change how to get profile image data in client side.
     return Bookmark.populate(bookmarks, {
       path: 'page',
       populate: {

+ 2 - 1
src/server/views/widget/page_list.html

@@ -8,7 +8,8 @@
 {% endif %}
 
 <li>
-  <img src="{{ page.lastUpdateUser|picture }}" class="picture img-circle">
+  <!-- [TODO][GW-1942] add method for updating imageUrlCached -->
+  <img src="{{ page.lastUpdateUser.imageUrlCached }}" class="picture img-circle">
   <a href="{{ page.path }}"
     class="page-list-link"
     data-path="{{ page.path }}">{{ decodeURIComponent(page.path) }}