Browse Source

fix(station card): isOwner masks true privacy of station

Owen Diffey 5 years ago
parent
commit
86347d96d8
1 changed files with 4 additions and 4 deletions
  1. 4 4
      frontend/components/pages/Home.vue

+ 4 - 4
frontend/components/pages/Home.vue

@@ -268,9 +268,7 @@ export default {
 			this.socket.emit("apis.joinRoom", "home", () => {});
 		},
 		isOwner(station) {
-			return (
-				station.owner === this.userId && station.privacy === "public"
-			);
+			return station.owner === this.userId;
 		},
 		isFavorite(station) {
 			return this.favoriteStations.indexOf(station._id) !== -1;
@@ -471,9 +469,11 @@ html {
 				bottom: 12px;
 				right: 12px;
 				.material-icons {
-					margin-left: 5px;
 					font-size: 22px;
 				}
+				.material-icons:first-child {
+					margin-left: 5px;
+				}
 				.privateIcon {
 					color: $dark-pink;
 				}