From 99bc1eb66032f8ee997a9a9436e74658a82a537c Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sat, 9 Dec 2017 16:35:40 -0700 Subject: [PATCH] Unwrap URL after saving --- web/app/configs/widget/widget.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/configs/widget/widget.component.ts b/web/app/configs/widget/widget.component.ts index 735f78f..7aa3b1e 100644 --- a/web/app/configs/widget/widget.component.ts +++ b/web/app/configs/widget/widget.component.ts @@ -149,6 +149,7 @@ export class WidgetComponent { .then(() => this.toggleWidget(widget)) .then(() => { this.isUpdating = false; + widget.url = this.getWrappedUrl(widget.url); // for easier editing this.toaster.pop("success", "Widget updated!"); }) .catch(err => {