mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-08 19:48:07 +00:00
Apply style
This commit is contained in:
parent
9dfbd5268b
commit
e2779620d3
@ -1,10 +1,8 @@
|
|||||||
import { Component, Inject, OnInit } from '@angular/core';
|
import { Component, Inject, OnInit } from '@angular/core';
|
||||||
|
|
||||||
import { Server } from "../shared/models/server";
|
|
||||||
import { ServerService } from "../shared/services/server.service";
|
|
||||||
import { DataSource } from "@angular/cdk/collections";
|
import { DataSource } from "@angular/cdk/collections";
|
||||||
import {Observable} from "rxjs/Observable";
|
|
||||||
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||||
|
|
||||||
|
import { Observable } from "rxjs/Observable";
|
||||||
import { BehaviorSubject } from "rxjs/BehaviorSubject";
|
import { BehaviorSubject } from "rxjs/BehaviorSubject";
|
||||||
|
|
||||||
import 'rxjs/add/operator/startWith';
|
import 'rxjs/add/operator/startWith';
|
||||||
@ -14,6 +12,9 @@ import 'rxjs/add/operator/debounceTime';
|
|||||||
import 'rxjs/add/operator/distinctUntilChanged';
|
import 'rxjs/add/operator/distinctUntilChanged';
|
||||||
import 'rxjs/add/observable/fromEvent';
|
import 'rxjs/add/observable/fromEvent';
|
||||||
|
|
||||||
|
import { Server } from "../shared/models/server";
|
||||||
|
import { ServerService } from "../shared/services/server.service";
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-server-list',
|
selector: 'app-server-list',
|
||||||
@ -105,7 +106,7 @@ export class ServerDatabase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class ServerDataSource extends DataSource<any> {
|
export class ServerDataSource extends DataSource<Server> {
|
||||||
constructor(private serverDatabase: ServerDatabase) {
|
constructor(private serverDatabase: ServerDatabase) {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user