Sfoglia il codice sorgente

feat(Home): if there are no stations, display message

Kristian Vos 5 anni fa
parent
commit
663b63ebf1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      frontend/components/pages/Home.vue

+ 1 - 0
frontend/components/pages/Home.vue

@@ -115,6 +115,7 @@
 						<span v-else class="songTitle">No song</span>
 					</div>
 				</router-link>
+				<h4 v-if="stations.length === 0">There are no stations to display</h4>
 			</div>
 			<main-footer />
 		</div>