-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rule creation #999
Fix rule creation #999
Conversation
Fixes openhab#998. Signed-off-by: Yannick Schaus <github@schaus.net>
Job #72: Bundle Size — 10.45MB (~-0.01%). |
@@ -327,7 +327,8 @@ export default { | |||
destroyOnClose: true, | |||
closeTimeout: 2000 | |||
}).open() | |||
this.$f7router.navigate(this.$f7route.url.replace('/add', '/' + this.rule.uid), { reloadCurrent: true }) | |||
this.dirty = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Seems I missed that!
Suggesting to move that new line to line 324, which is where the save actually succeeded. That way, the new and the (misplaced) original can be merged into one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks
Signed-off-by: Yannick Schaus <github@schaus.net>
Similar to openhab#999 / openhab#998. Signed-off-by: Yannick Schaus <github@schaus.net>
Fixes #998.
Signed-off-by: Yannick Schaus github@schaus.net