Commit cfe336ab authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'jivanvl-change-job-log-getter-header-time' into 'master'

Revert headerTime nullish coalescing

See merge request gitlab-org/gitlab!54956
parents 0a5fe9fe 4f9dca06
import { isEmpty, isString } from 'lodash';
import { isScrolledToBottom } from '~/lib/utils/scroll_utils';
export const headerTime = (state) => state.job.started ?? state.job.created_at;
export const headerTime = (state) => (state.job.started ? state.job.started : state.job.created_at);
export const hasForwardDeploymentFailure = (state) =>
state?.job?.failure_reason === 'forward_deployment_failure';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment