From 39d05b75db78c1fb820ff65f30c2e37b8f78cfa4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 28 May 2018 15:10:57 +0900 Subject: [PATCH] Fix bug --- src/client/app/common/views/widgets/rss.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/client/app/common/views/widgets/rss.vue b/src/client/app/common/views/widgets/rss.vue index eca23d022..7ac453e45 100644 --- a/src/client/app/common/views/widgets/rss.vue +++ b/src/client/app/common/views/widgets/rss.vue @@ -53,9 +53,12 @@ export default define({ }); }, setting() { - this.props.url =window.prompt('URL', this.props.url); - this.save(); - this.fetch(); + const url = window.prompt('URL', this.props.url); + if (url && url != '') { + this.props.url = url; + this.save(); + this.fetch(); + } } } });