Skip to content

ui: fix physical network guest traffic type tab - #6096

Merged
weizhouapache merged 1 commit into
apache:mainfrom
shapeblue:fix-ui-iprangesguesttab
Mar 14, 2022
Merged

weizhouapache merged 1 commit into
apache:mainfrom
shapeblue:fix-ui-iprangesguesttab

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Description

Fixes icon
Fixes object change

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Before
Screenshot from 2022-03-11 13-30-16

After
Screenshot from 2022-03-11 13-30-59

How Has This Been Tested?

Fixes icon
Fixes object change

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr

Copy link
Copy Markdown
Contributor Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6096 (SL-JID-1242)

},
watch: {
network (newItem, oldItem) {
resource (newItem, oldItem) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidjumani With Vue3, to watch an Object, you should use deep. Refer: https://vuejs.org/guide/essentials/watchers.html#deep-watchers

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@utchoang Doc says deep is needed only in cases where trying to run callback on all nested mutations. Even there example runs fine without it and I don't think we want to run fetchData here on any property change of resource

@sureshanaparti sureshanaparti changed the title ui: fix physical network guest traffix type tab ui: fix physical network guest traffic type tab Mar 14, 2022

@weizhouapache weizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested ok.

@weizhouapache
weizhouapache merged commit d828fd2 into apache:main Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants