Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsc committed Oct 12, 2023
1 parent 4e4ac20 commit d1d6c7a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/app/components/dashboard/dashboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,12 +661,12 @@
<div class="chartcontainer">
<div
class="stat-charts"
[attr.id]="'highcharts'+randomChartId"
[attr.id]="'highcharts' + randomChartId"
style="width: 100%; height: 380px"
[hidden]="!chartData || selectedChart != 'chartIncome'"></div>
<div
class="stat-charts"
[attr.id]="'highchartsBlocks'+randomChartId"
[attr.id]="'highchartsBlocks' + randomChartId"
style="width: 100%; height: 380px"
[hidden]="!chartDataProposals || selectedChart != 'chartBlocks'"></div>

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/validator/validator.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class ValidatorComponent implements OnInit {

this.name = getDisplayName(this.validator)
this.imgData = this.getBlockies()
this.tagged = !!await this.validatorUtils.getValidatorLocal(this.validator.pubkey)
this.tagged = !!(await this.validatorUtils.getValidatorLocal(this.validator.pubkey))
this.state = this.interpretState(this.validator)
this.stateCss = this.interpretStateCss(this.validator)
}
Expand Down
6 changes: 1 addition & 5 deletions src/app/pages/machines/machines.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import { trigger, style, animate, transition } from '@angular/animations'
selector: 'app-machines',
templateUrl: './machines.page.html',
styleUrls: ['./machines.page.scss'],
animations: [
trigger('fadeIn', [
transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))]),
]),
],
animations: [trigger('fadeIn', [transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))])])],
})
export class MachinesPage extends MachineController implements OnInit {
data: ProcessedStats[] = null
Expand Down
6 changes: 1 addition & 5 deletions src/app/tab-blocks/tab-blocks.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ import { trigger, style, animate, transition } from '@angular/animations'
selector: 'app-tab-blocks',
templateUrl: './tab-blocks.page.html',
styleUrls: ['./tab-blocks.page.scss'],
animations: [
trigger('fadeIn', [
transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))]),
]),
],
animations: [trigger('fadeIn', [transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))])])],
})
export class TabBlocksPage implements OnInit {
public classReference = UnitconvService
Expand Down
6 changes: 1 addition & 5 deletions src/app/tab-preferences/tab-preferences.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ import { trigger, style, animate, transition } from '@angular/animations'
selector: 'app-tab3',
templateUrl: 'tab-preferences.page.html',
styleUrls: ['tab-preferences.page.scss'],
animations: [
trigger('fadeIn', [
transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))]),
]),
],
animations: [trigger('fadeIn', [transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))])])],
})
export class Tab3Page {
darkMode: boolean
Expand Down
6 changes: 1 addition & 5 deletions src/app/tab-validators/tab-validators.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ import { trigger, style, animate, transition } from '@angular/animations'
selector: 'app-tab2',
templateUrl: 'tab-validators.page.html',
styleUrls: ['tab-validators.page.scss'],
animations: [
trigger('fadeIn', [
transition(':enter', [style({ opacity: 0 }),animate('300ms 100ms', style({ opacity: 1 }))]),
]),
],
animations: [trigger('fadeIn', [transition(':enter', [style({ opacity: 0 }), animate('300ms 100ms', style({ opacity: 1 }))])])],
})
export class Tab2Page {
dataSource: InfiniteScrollDataSource<Validator>
Expand Down
2 changes: 1 addition & 1 deletion src/app/utils/ClientUpdateUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default class ClientUpdateUtils {
}

async checkAllUpdates() {
if(this.lastTry + 10 * 60 * 1000 > Date.now()) return
if (this.lastTry + 10 * 60 * 1000 > Date.now()) return
this.updates = null
for (let i = 0; i < Clients.length; i++) {
this.append(this.checkUpdateFor(await this.storage.getItem(Clients[i].storageKey)))
Expand Down

0 comments on commit d1d6c7a

Please sign in to comment.