From 290e244a4e8dafdaf02f0f53bb2010138e6460f1 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 22 Dec 2017 21:54:00 -0700 Subject: [PATCH] Actually remove widgets when requested --- .../widget/custom/custom.widget.component.html | 12 ++++++------ web/app/configs/widget/widget.component.ts | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/web/app/configs/widget/custom/custom.widget.component.html b/web/app/configs/widget/custom/custom.widget.component.html index 94ae81f..bb687d8 100644 --- a/web/app/configs/widget/custom/custom.widget.component.html +++ b/web/app/configs/widget/custom/custom.widget.component.html @@ -1,7 +1,3 @@ -
- -
- + +
+ +
@@ -38,14 +38,14 @@ [isCollapsible]="true" [defaultCollapsed]="widget.id !== defaultExpandedWidgetId" title="{{ widget.name || widget.url || defaultName }}">
-
+
-
diff --git a/web/app/configs/widget/widget.component.ts b/web/app/configs/widget/widget.component.ts index 17408b2..f510fb0 100644 --- a/web/app/configs/widget/widget.component.ts +++ b/web/app/configs/widget/widget.component.ts @@ -71,7 +71,6 @@ export class NewWidgetComponent { } // See if we should request editing a particular widget - console.log(SessionStorage.editIntegrationId +" " +SessionStorage.editsRequested); if (SessionStorage.editIntegrationId && SessionStorage.editsRequested === 1) { let editWidget: EditableWidget = null; let otherWidgets: EditableWidget[] = [];