mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-31 14:30:43 +00:00
12 lines
269 B
TypeScript
12 lines
269 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;
|
|
}
|
|
}
|