mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-24 21:09:40 +00:00
13 lines
267 B
TypeScript
13 lines
267 B
TypeScript
import { Injectable } from "@angular/core";
|
|
|
|
import { Node } from "../models/node";
|
|
import { DataSource } from "./datasource";
|
|
|
|
|
|
@Injectable()
|
|
export class NodesDataSource extends DataSource<Node> {
|
|
protected getItemKey(node: Node) {
|
|
return node.node_id;
|
|
}
|
|
}
|