Преглед на файлове

Fixed station displayName not showing.

KrisVos130 преди 8 години
родител
ревизия
bf23249fa5
променени са 3 файла, в които са добавени 10 реда и са изтрити 6 реда
  1. 3 3
      frontend/components/Station/CommunityHeader.vue
  2. 3 3
      frontend/components/Station/OfficialHeader.vue
  3. 4 0
      frontend/components/Station/Station.vue

+ 3 - 3
frontend/components/Station/CommunityHeader.vue

@@ -37,9 +37,9 @@
 			</a>
 		</div>
 
-		<!--<div class='nav-center'>
-			{{title}}
-		</div>-->
+		<div class='nav-center stationDisplayName'>
+			{{$parent.station.displayName}}
+		</div>
 
 		<span class="nav-toggle" :class="{ 'is-active': isMobile }" @click="isMobile = !isMobile">
 			<span></span>

+ 3 - 3
frontend/components/Station/OfficialHeader.vue

@@ -42,9 +42,9 @@
 			</a>
 		</div>
 
-		<!--<div class='nav-center'>
-			{{title}}
-		</div>-->
+		<div class='nav-center stationDisplayName'>
+			{{$parent.station.displayName}}
+		</div>
 
 		<span class="nav-toggle" :class="{ 'is-active': isMobile }" @click="isMobile = !isMobile">
 			<span></span>

+ 4 - 0
frontend/components/Station/Station.vue

@@ -495,6 +495,10 @@
 		text-align: center;
 	}
 
+	.stationDisplayName {
+		color: white !important;
+	}
+
 	.slideout {
 		top: 50px;
 		height: 100%;