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

[PH-34] update image dropdown #500

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ducnbh
Copy link
Contributor

@ducnbh ducnbh commented Jan 16, 2024

PR checklist

  • Ensure you have added or ran the appropriate tests for your PR.
  • DCO signed

What type of PR is this?
enhance

Signed-off-by: raymond nguyen <[email protected]>
@@ -61,6 +61,7 @@ export const mapping = (item: Item<ImageSpec>, context: Context) => {
imageSpec: item.spec.imageSpec ? imageSpecMapping(item.spec.imageSpec) : null,
logEndpoint: `${context.graphqlHost}${context.podLogs.getImageSpecJobEndpoint(item.metadata.name)}`,
jobStatus: item.status ? item.status.jobCondition : null,
usage: item.spec.usage ? item.spec.usage : (Math.random() < 0.5 ? "deployment" : "notebook"),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

when the golang side is ready, please change it to item.spec.usage

raymond nguyen added 6 commits January 17, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant