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

Correctly detect Pacemaker Site details in ClusterDetails #381

Closed
nelsonkopliku opened this issue Apr 20, 2022 · 0 comments · Fixed by #437
Closed

Correctly detect Pacemaker Site details in ClusterDetails #381

nelsonkopliku opened this issue Apr 20, 2022 · 0 comments · Fixed by #437

Comments

@nelsonkopliku
Copy link
Member

assets/js/components/ClusterDetails/ClusterDetails.jsx

<div className="mt-8">
  <div>
    <h2 className="text-2xl font-bold">Pacemaker Site details</h2>
  </div>
</div>
<div className="mt-2">
  <h3 className="text-l font-bold">NBG</h3>
  <Table
    config={siteDetailsConfig}
    data={renderedNodes.filter(({ site }) => site === 'NBG')} // fix hardcoded
  />
  <h3 className="text-l font-bold">WDF</h3>
  <Table
    config={siteDetailsConfig}
    data={renderedNodes.filter(({ site }) => site === 'WDF')} // fix hardcoded
  />
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant