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

Use valid condition in the service details panel UI #5984

Merged
merged 1 commit into from Dec 10, 2019

Conversation

jbdoumenjou
Copy link
Member

What does this PR do?

Use valid condition for the termination delay section in the service details panel.

Motivation

Have a working service detail panel.

More

  • Added/updated tests
  • Added/updated documentation

@traefiker traefiker added this to the 2.1 milestone Dec 10, 2019
@ldez ldez changed the title fix ui: use valid condition in the service details panel Use valid condition in the service details panel UI Dec 10, 2019
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@ldez ldez added this to To review in v2 via automation Dec 10, 2019
Copy link

@paulocfjunior paulocfjunior left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -54,7 +54,7 @@
</div>
</q-card-section>

<q-card-section v-if="data.loadBalancer.terminationDelay">
<q-card-section v-if="data.loadBalancer && data.loadBalancer.terminationDelay">
Copy link
Collaborator

Choose a reason for hiding this comment

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

data itself is never nil? i.e., is there no need for:

"data && data.loadBalancer && data.loadBalancer.terminationDelay"

?

@traefiker traefiker merged commit 87dd6ba into traefik:v2.1 Dec 10, 2019
v2 automation moved this from To review to Done Dec 10, 2019
@jbdoumenjou jbdoumenjou deleted the fix/ui-service-detail-panel branch February 20, 2020 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v2
Done
Development

Successfully merging this pull request may close these issues.

None yet

6 participants