Unwrap URL after saving

This commit is contained in:
Travis Ralston 2017-12-09 16:35:40 -07:00
parent e9aecabab4
commit 99bc1eb660

View file

@ -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 => {