From da10b36524703e03b854f03338c94b7d7a33f655 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 24 Nov 2022 12:19:19 +0900 Subject: [PATCH] Change imports to relative paths --- .../components/asset-circulation/asset-circulation.component.ts | 2 +- frontend/src/app/components/asset/asset.component.ts | 2 +- .../app/components/assets/assets-nav/assets-nav.component.ts | 2 +- frontend/src/app/components/assets/assets.component.ts | 2 +- .../components/transactions-list/transactions-list.component.ts | 2 +- frontend/src/app/lightning/node/node.component.ts | 2 +- frontend/src/app/services/assets.service.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/components/asset-circulation/asset-circulation.component.ts b/frontend/src/app/components/asset-circulation/asset-circulation.component.ts index c828e4c31..cc09c4809 100644 --- a/frontend/src/app/components/asset-circulation/asset-circulation.component.ts +++ b/frontend/src/app/components/asset-circulation/asset-circulation.component.ts @@ -4,7 +4,7 @@ import { map } from 'rxjs/operators'; import { moveDec } from '../../bitcoin.utils'; import { AssetsService } from '../../services/assets.service'; import { ElectrsApiService } from '../../services/electrs-api.service'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../environments/environment'; @Component({ selector: 'app-asset-circulation', diff --git a/frontend/src/app/components/asset/asset.component.ts b/frontend/src/app/components/asset/asset.component.ts index b08ca88ef..0e642063a 100644 --- a/frontend/src/app/components/asset/asset.component.ts +++ b/frontend/src/app/components/asset/asset.component.ts @@ -9,7 +9,7 @@ import { AudioService } from '../../services/audio.service'; import { ApiService } from '../../services/api.service'; import { of, merge, Subscription, combineLatest } from 'rxjs'; import { SeoService } from '../../services/seo.service'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../environments/environment'; import { AssetsService } from '../../services/assets.service'; import { moveDec } from '../../bitcoin.utils'; diff --git a/frontend/src/app/components/assets/assets-nav/assets-nav.component.ts b/frontend/src/app/components/assets/assets-nav/assets-nav.component.ts index d3edfc9b1..acac8bafb 100644 --- a/frontend/src/app/components/assets/assets-nav/assets-nav.component.ts +++ b/frontend/src/app/components/assets/assets-nav/assets-nav.component.ts @@ -9,7 +9,7 @@ import { AssetsService } from '../../../services/assets.service'; import { SeoService } from '../../../services/seo.service'; import { StateService } from '../../../services/state.service'; import { RelativeUrlPipe } from '../../../shared/pipes/relative-url/relative-url.pipe'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../../environments/environment'; @Component({ selector: 'app-assets-nav', diff --git a/frontend/src/app/components/assets/assets.component.ts b/frontend/src/app/components/assets/assets.component.ts index 7368d6c8e..bd046ae7a 100644 --- a/frontend/src/app/components/assets/assets.component.ts +++ b/frontend/src/app/components/assets/assets.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { AssetsService } from '../../services/assets.service'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../environments/environment'; import { FormGroup } from '@angular/forms'; import { filter, map, switchMap, take } from 'rxjs/operators'; import { ActivatedRoute, Router } from '@angular/router'; diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.ts b/frontend/src/app/components/transactions-list/transactions-list.component.ts index b09226f33..072d71311 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.ts +++ b/frontend/src/app/components/transactions-list/transactions-list.component.ts @@ -3,7 +3,7 @@ import { StateService } from '../../services/state.service'; import { Observable, ReplaySubject, BehaviorSubject, merge, Subscription } from 'rxjs'; import { Outspend, Transaction, Vin, Vout } from '../../interfaces/electrs.interface'; import { ElectrsApiService } from '../../services/electrs-api.service'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../environments/environment'; import { AssetsService } from '../../services/assets.service'; import { filter, map, tap, switchMap } from 'rxjs/operators'; import { BlockExtended } from '../../interfaces/node-api.interface'; diff --git a/frontend/src/app/lightning/node/node.component.ts b/frontend/src/app/lightning/node/node.component.ts index 411246d2b..7ca79df87 100644 --- a/frontend/src/app/lightning/node/node.component.ts +++ b/frontend/src/app/lightning/node/node.component.ts @@ -7,7 +7,7 @@ import { ApiService } from '../../services/api.service'; import { LightningApiService } from '../lightning-api.service'; import { GeolocationData } from '../../shared/components/geolocation/geolocation.component'; import { ILiquidityAd, parseLiquidityAdHex } from './liquidity-ad'; -import { haversineDistance, kmToMiles } from 'src/app/shared/common.utils'; +import { haversineDistance, kmToMiles } from '../../../app/shared/common.utils'; interface CustomRecord { type: string; diff --git a/frontend/src/app/services/assets.service.ts b/frontend/src/app/services/assets.service.ts index decc8cbad..9c6b5dba0 100644 --- a/frontend/src/app/services/assets.service.ts +++ b/frontend/src/app/services/assets.service.ts @@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { map, shareReplay, switchMap } from 'rxjs/operators'; import { StateService } from './state.service'; -import { environment } from 'src/environments/environment'; +import { environment } from '../../../src/environments/environment'; import { AssetExtended } from '../interfaces/electrs.interface'; @Injectable({