فهرست منبع

Merge pull request #1271 from pixelfed/frontend-ui-refactor

Frontend ui refactor
daniel 6 سال پیش
والد
کامیت
0fe368ae01
3فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. BIN
      public/js/timeline.js
  2. BIN
      public/mix-manifest.json
  3. 1 1
      resources/assets/js/components/Timeline.vue

BIN
public/js/timeline.js


BIN
public/mix-manifest.json


+ 1 - 1
resources/assets/js/components/Timeline.vue

@@ -9,7 +9,7 @@
 					</div>
 				</div>
 				<div :data-status-id="status.id" v-for="(status, index) in feed" :key="`${index}-${status.id}`">
-					<div v-if="index == 2 && showSuggestions == true" class="card mb-sm-4 status-card card-md-rounded-0">
+					<div v-if="index == 2 && showSuggestions == true && suggestions.length" class="card mb-sm-4 status-card card-md-rounded-0">
 						<div class="card-header d-flex align-items-center justify-content-between bg-white border-0 pb-0">
 							<h6 class="text-muted font-weight-bold mb-0">Suggestions For You</h6>
 							<span class="cursor-pointer text-muted" v-on:click="hideSuggestions"><i class="fas fa-times"></i></span>