diff --git a/monitor/services/resources.service.ts b/monitor/services/resources.service.ts index 9264723c..bb10767e 100644 --- a/monitor/services/resources.service.ts +++ b/monitor/services/resources.service.ts @@ -61,20 +61,6 @@ export class ResourcesService { return items; } - /** - * @deprecated - * */ - setResourcesDeprecated(items: MenuItem[], prefix = '', portal: string = null) { - if (this.subscription) { - this.subscription.unsubscribe(); - } - let resources = new MenuItem('resources', 'Resources', "", "", false, [], null, {}); - let index = items.push(resources) - 1; - this.subscription = from(this.getResourcesItemsAsync(prefix, portal)).subscribe(resourcesItems => { - items[index].items = resourcesItems; - }); - } - setResources(items: MenuItem[], prefix = '', portal: string = null) { if (this.subscription) { this.subscription.unsubscribe();