Oviya commited on
Commit
eb50c6c
·
1 Parent(s): 467c4ca

update toolspage

Browse files
src/app/toolspage/toolspage.component.html CHANGED
@@ -149,7 +149,7 @@
149
  type="button"
150
  class="run-btn"
151
  (click)="submit()"
152
- [disabled]="loading || !selectedTradingType">
153
  Run Analysis
154
  </button>
155
  </form>
 
149
  type="button"
150
  class="run-btn"
151
  (click)="submit()"
152
+ [disabled]="loading || !selectedCompanies || selectedCompanies.length === 0">
153
  Run Analysis
154
  </button>
155
  </form>
src/app/toolspage/toolspage.component.scss CHANGED
@@ -159,7 +159,7 @@
159
 
160
  .hint {
161
  color: #e5e7eb;
162
- font-size: 14px;
163
  opacity: .9;
164
  }
165
 
 
159
 
160
  .hint {
161
  color: #e5e7eb;
162
+ font-size: 1.5vw;
163
  opacity: .9;
164
  }
165
 
src/app/toolspage/toolspage.component.ts CHANGED
@@ -100,7 +100,7 @@ export class ToolspageComponent {
100
  selectedExchange = '';
101
  selectedIndexName = '';
102
  selectedCompanies: string[] = [];
103
- selectedTradingType = ''; // common control
104
 
105
  // ---------- Derived lists
106
  countries = Object.keys(this.markets);
 
100
  selectedExchange = '';
101
  selectedIndexName = '';
102
  selectedCompanies: string[] = [];
103
+ selectedTradingType = 'swing';
104
 
105
  // ---------- Derived lists
106
  countries = Object.keys(this.markets);