diff --git a/ui/src/app/add/components/endpoint-item/endpoint-item.component.html b/ui/src/app/add/components/endpoint-item/endpoint-item.component.html
index 1a536414f1..2a46c897b1 100644
--- a/ui/src/app/add/components/endpoint-item/endpoint-item.component.html
+++ b/ui/src/app/add/components/endpoint-item/endpoint-item.component.html
@@ -90,34 +90,18 @@
-
-
-
-
diff --git a/ui/src/app/add/components/endpoint-item/endpoint-item.component.ts b/ui/src/app/add/components/endpoint-item/endpoint-item.component.ts
index 73c8f331a1..e4f586a33d 100644
--- a/ui/src/app/add/components/endpoint-item/endpoint-item.component.ts
+++ b/ui/src/app/add/components/endpoint-item/endpoint-item.component.ts
@@ -20,10 +20,7 @@ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { AddService } from '../../services/add.service';
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
-import {
- ExtensionsServiceEndpointItem,
- PipelineElementEndpointService,
-} from '@streampipes/platform-services';
+import { ExtensionsServiceEndpointItem } from '@streampipes/platform-services';
import { AppConstants } from '../../../services/app.constants';
import { ObjectPermissionDialogComponent } from '../../../core-ui/object-permission-dialog/object-permission-dialog.component';
import { PanelType, DialogService } from '@streampipes/shared-ui';
@@ -51,8 +48,6 @@ export class EndpointItemComponent implements OnInit {
triggerInstallation: EventEmitter = new EventEmitter();
constructor(
- private snackBar: MatSnackBar,
- private pipelineElementEndpointService: PipelineElementEndpointService,
private addService: AddService,
private sanitizer: DomSanitizer,
public appConstants: AppConstants,
@@ -137,19 +132,6 @@ export class EndpointItemComponent implements OnInit {
event.stopPropagation();
}
- refresh(elementId: string) {
- this.pipelineElementEndpointService
- .update(elementId)
- .subscribe(msg => {
- this.snackBar.open(msg.notifications[0].title, 'Ok', {
- duration: 2000,
- });
- })
- .add(() => {
- // this.loadCurrentElements(type);
- });
- }
-
showPermissionsDialog(elementId: string, elementName: string) {
const dialogRef = this.dialogService.open(
ObjectPermissionDialogComponent,