Browse Source

fix(home page): 'login to create station' card should open login modal

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 years ago
parent
commit
7398090dbb
1 changed files with 10 additions and 1 deletions
  1. 10 1
      frontend/src/pages/Home.vue

+ 10 - 1
frontend/src/pages/Home.vue

@@ -242,7 +242,16 @@
 					</div>
 					<div class="bottomBar"></div>
 				</a>
-				<a v-else class="card station-card createStation">
+				<a
+					v-else
+					@click="
+						openModal({
+							sector: 'header',
+							modal: 'login'
+						})
+					"
+					class="card station-card createStation"
+				>
 					<div class="card-image">
 						<figure class="image is-square">
 							<i class="material-icons">radio</i>