浏览代码

Update Timeline.vue, add missing notification type

Daniel Supernault 6 年之前
父节点
当前提交
8d32ff0589
共有 4 个文件被更改,包括 6 次插入1 次删除
  1. 1 1
      config/pixelfed.php
  2. 二进制
      public/js/components.js
  3. 二进制
      public/mix-manifest.json
  4. 5 0
      resources/assets/js/components/Timeline.vue

+ 1 - 1
config/pixelfed.php

@@ -23,7 +23,7 @@ return [
     | This value is the version of your PixelFed instance.
     |
     */
-    'version' => '0.5.1',
+    'version' => '0.5.2',
 
     /*
     |--------------------------------------------------------------------------

二进制
public/js/components.js


二进制
public/mix-manifest.json


+ 5 - 0
resources/assets/js/components/Timeline.vue

@@ -308,6 +308,11 @@
 										<span class="font-weight-bold">{{n.account.username}}</span> mentioned you.
 									</p>
 								</div>
+								<div v-else-if="n.type == 'follow'">
+									<p class="my-0">
+										<span class="font-weight-bold">{{n.account.username}}</span> followed you.
+									</p>	
+								</div>
 							</div>
 							
 						</div>