mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-01 16:30:12 +00:00
13 lines
270 B
TypeScript
13 lines
270 B
TypeScript
import { Injectable } from "@angular/core";
|
|
|
|
import { DataSource } from "./datasource";
|
|
import { Link } from "../../models/link";
|
|
|
|
|
|
@Injectable()
|
|
export class LinksDataSource extends DataSource<Link> {
|
|
protected getItemKey(link: Link) {
|
|
return link.link_id;
|
|
}
|
|
}
|