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

Fixed the Date conversion for the Baker HTTP dashboard. #1686

Merged
merged 6 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http/baker-http-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This project has been tested to work on v18.2.0 (npm v8.9.0).


## Prerequisites:
- Install nvm (node version manager): `brew install nvm`
- Install nvm (node version manager): `brew install nvm` (Add it do console: source $(brew --prefix nvm)/nvm.sh)
- Install node `nvm install node`
Tim-Linschoten marked this conversation as resolved.
Show resolved Hide resolved
- Install project `npm install`
- Link angular cli `npm link @angular/cli` (to solve `zsh: command not found: ng`)
Expand Down
2 changes: 2 additions & 0 deletions http/baker-http-dashboard/src/app/baker-conversion.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export class BakerConversionService {
return this.recordValue(typeOptions as TypeRecordTypeInner, value, valuePath);
case "MapType":
return this.mapValue(typeOptions as TypeMapTypeInner, value, valuePath);
case "Date":
return BakerConversionService.primitiveValue("java.lang.Long", value);
default:
return "Unknown";
}
Expand Down
Loading