diff --git a/src/app/components/speakers-page/speakers-page.component.sass b/src/app/components/speakers-page/speakers-page.component.sass
index 9a739e5..fd5bbb0 100644
--- a/src/app/components/speakers-page/speakers-page.component.sass
+++ b/src/app/components/speakers-page/speakers-page.component.sass
@@ -37,3 +37,6 @@
.cdk-overlay-dark-backdrop.cdk-overlay-backdrop-showing
background-color: rgba(255, 255, 255, 0.4)!important
+
+.check
+ font-size: 1.5rem
\ No newline at end of file
diff --git a/src/app/components/speakers-page/speakers-page.component.ts b/src/app/components/speakers-page/speakers-page.component.ts
index 4b05b6d..34d01e6 100644
--- a/src/app/components/speakers-page/speakers-page.component.ts
+++ b/src/app/components/speakers-page/speakers-page.component.ts
@@ -20,11 +20,6 @@ export class SpeakersPageComponent implements OnInit {
ml_Active;
cloud_Active;
others_Active;
- webCount;
- mobileCount;
- mlCount;
- cloudCount;
- othersCount;
constructor(private db: AngularFirestore) {
db.doc
('speakers/data').valueChanges().subscribe(data => {
this.speakers = {
@@ -56,46 +51,7 @@ export class SpeakersPageComponent implements OnInit {
});
}
- webActive(value) {
- this.webCount += value;
- if (this.webCount % 2 == 0) {
- this.web_Active = false;
- } else {
- this.web_Active = true;
- }
- }
- mobileActive(value) {
- this.mobileCount += value;
- if (this.mobileCount % 2 == 0) {
- this.mobile_Active = false;
- } else {
- this.mobile_Active = true;
- }
- }
- mlActive(count) {
- this.mlCount += count;
- if (this.mlCount % 2 == 0) {
- this.ml_Active = false;
- } else {
- this.ml_Active = true;
- }
- }
- cloudActive(value) {
- this.cloudCount += value;
- if (this.cloudCount % 2 == 0) {
- this.cloud_Active = false;
- } else {
- this.cloud_Active = true;
- }
- }
- othersActive(value) {
- this.othersCount += value;
- if (this.othersCount % 2 == 0) {
- this.others_Active = false;
- } else {
- this.others_Active = true;
- }
- }
+
ngOnInit() {
this.web_Active = false;
@@ -103,11 +59,6 @@ export class SpeakersPageComponent implements OnInit {
this.ml_Active = false;
this.cloud_Active = false;
this.others_Active = false;
- this.webCount = 0;
- this.mobileCount = 0;
- this.mlCount = 0;
- this.cloudCount = 0;
- this.othersCount = 0;
}
}
\ No newline at end of file
From 75b1043a3eb62dfd99373c622f7494a4e4185621 Mon Sep 17 00:00:00 2001
From: Aditya Prakash
Date: Wed, 2 Oct 2019 16:22:03 +0530
Subject: [PATCH 5/7] logs removed & case fixed
---
.../speakers-page.component.html | 22 ++++++++--------
.../speakers-page/speakers-page.component.ts | 26 +++++++------------
2 files changed, 21 insertions(+), 27 deletions(-)
diff --git a/src/app/components/speakers-page/speakers-page.component.html b/src/app/components/speakers-page/speakers-page.component.html
index 2360a60..577af6d 100644
--- a/src/app/components/speakers-page/speakers-page.component.html
+++ b/src/app/components/speakers-page/speakers-page.component.html
@@ -16,19 +16,19 @@
- Web
+ Web
- Mobile
+ Mobile
- ML
+ ML
- Cloud
+ Cloud
- Others
+ Others
@@ -42,37 +42,37 @@