Skip to content

Correctly display “00” in event details scheduling - #682

Merged
ziegenberg merged 1 commit into
opencast:mainfrom
lkiesow:event-details-scheduling
Jun 11, 2024
Merged

Correctly display “00” in event details scheduling#682
ziegenberg merged 1 commit into
opencast:mainfrom
lkiesow:event-details-scheduling

Conversation

@lkiesow

@lkiesow lkiesow commented Jun 8, 2024

Copy link
Copy Markdown
Member

Since 00 is a falsy value, it wasn't used as value in the scheduling tab input fields. This patch fixes the problem by only checking for null and undefined instead.

This fixes #611

Since `00` is a `falsy` value, it wasn't used as value in the scheduling
tab input fields. This patch fixes the problem by only checking for
`null` and `undefined` instead.

This fixes opencast#611
@lkiesow lkiesow added the type:bug Something isn't working label Jun 8, 2024
@github-actions

github-actions Bot commented Jun 8, 2024

Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/682/2024-06-08_07-39-10/ .
It might take a few minutes for it to become available.

@github-actions

github-actions Bot commented Jun 8, 2024

Copy link
Copy Markdown
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-682

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-682

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@reiferschris reiferschris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I can confirm that this works as it should :)

@ziegenberg
ziegenberg merged commit 6ab254b into opencast:main Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Event Scheduling: "00" not correctly displayed

3 participants