Skip to content
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

Merged
merged 2 commits into from
Apr 11, 2021
Merged

Fix rule creation #999

merged 2 commits into from
Apr 11, 2021

Conversation

ghys
Copy link
Member

@ghys ghys commented Apr 11, 2021

Fixes #998.

Signed-off-by: Yannick Schaus github@schaus.net

Fixes openhab#998.

Signed-off-by: Yannick Schaus <github@schaus.net>
@ghys ghys requested a review from a team as a code owner April 11, 2021 17:44
@relativeci
Copy link

relativeci bot commented Apr 11, 2021

Job #72: Bundle Size — 10.45MB (~-0.01%).

04112aa vs c521c89

Changed metrics (1/8)
Metric Current Baseline
Cache Invalidation 1.21% 57.61%
Changed assets by type (1/7)
            Current     Baseline
JS 8.12MB (~-0.01%) 8.12MB

View Job #72 report on app.relative-ci.com

@@ -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
Copy link
Contributor

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.

Copy link
Member Author

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>
@ghys ghys merged commit 0bcbd8c into openhab:main Apr 11, 2021
ghys added a commit that referenced this pull request Apr 25, 2021
Similar to #999 / #998.

Signed-off-by: Yannick Schaus <github@schaus.net>
@ghys ghys mentioned this pull request Apr 25, 2021
ghys added a commit that referenced this pull request Apr 25, 2021
Similar to #999 / #998.

Signed-off-by: Yannick Schaus <github@schaus.net>
hubsif pushed a commit to hubsif/openhab-webui that referenced this pull request May 6, 2021
Similar to openhab#999 / openhab#998.

Signed-off-by: Yannick Schaus <github@schaus.net>
@ghys ghys added main ui Main UI bug Something isn't working labels May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unwanted dialog when creating a new rule
2 participants