ESlint: fix imports

This commit is contained in:
Yury Bondarenko
2023-06-27 15:40:01 +02:00
parent fa404fff84
commit a11be65f95
2234 changed files with 30059 additions and 15612 deletions

View File

@@ -1,13 +1,27 @@
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
import {
ActivatedRouteSnapshot,
CanActivate,
Router,
RouterStateSnapshot,
} from '@angular/router';
import {
Observable,
of as observableOf,
} from 'rxjs';
import {
map,
tap,
} from 'rxjs/operators';
import { hasNoValue, hasValue } from '../../shared/empty.util';
import { CommunityDataService } from '../../core/data/community-data.service';
import { RemoteData } from '../../core/data/remote-data';
import { Community } from '../../core/shared/community.model';
import { map, tap } from 'rxjs/operators';
import { Observable, of as observableOf } from 'rxjs';
import { getFirstCompletedRemoteData } from '../../core/shared/operators';
import {
hasNoValue,
hasValue,
} from '../../shared/empty.util';
/**
* Prevent creation of a community with an invalid parent community provided