-
Notifications
You must be signed in to change notification settings - Fork 0
Add duration pipe and display event duration on webpage #5
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,4 @@ | ||
| internal/ui/angular-ui/dist | ||
| internal/ui/angular-ui/dist | ||
| timetracker.db | ||
| tt-arm | ||
| .idea |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,5 +98,8 @@ | |
| } | ||
| } | ||
| } | ||
| }, | ||
| "cli": { | ||
| "analytics": false | ||
| } | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,8 @@ | |
| <div class="content-container"> | ||
| <div class="content"> | ||
| {{ timeSlot()?.Text }} | ||
| <br> | ||
| <span>{{ timeSlot()?.Start | duration:timeSlot()?.End }}</span> | ||
|
||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] If this commented-out CORS header is no longer needed, consider removing it to keep the code clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to leave it to easily enable debugging by just uncommenting it again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes can be kept