diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-13 15:11:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-13 15:11:29 +0300 |
commit | 3c293d24c3408d204be7d84d6319b373c83ff6ae (patch) | |
tree | bb64f9751f7d859b43b7a0f58c184c503135373b /app/assets/javascripts/incidents | |
parent | 2ea5c7c9c919b801d5039722e271ba077cc05986 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/incidents')
-rw-r--r-- | app/assets/javascripts/incidents/components/incidents_list.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/incidents/components/incidents_list.vue b/app/assets/javascripts/incidents/components/incidents_list.vue index 8613d58fce4..782f417a989 100644 --- a/app/assets/javascripts/incidents/components/incidents_list.vue +++ b/app/assets/javascripts/incidents/components/incidents_list.vue @@ -11,9 +11,9 @@ import { GlIcon, GlEmptyState, } from '@gitlab/ui'; -import { isValidSlaDueAt } from 'ee_else_ce/vue_shared/components/incidents/utils'; import { STATUS_CLOSED } from '~/issues/constants'; import { visitUrl, mergeUrlParams, joinPaths } from '~/lib/utils/url_utility'; +import { isValidDateString } from '~/lib/utils/datetime_range'; import { s__, n__ } from '~/locale'; import { INCIDENT_SEVERITY } from '~/sidebar/constants'; import SeverityToken from '~/sidebar/components/severity/severity.vue'; @@ -330,7 +330,7 @@ export default { item.assignees.nodes.length - MAX_VISIBLE_ASSIGNEES, ); }, - isValidSlaDueAt, + isValidDateString, }, }; </script> @@ -441,7 +441,7 @@ export default { <template v-if="slaFeatureAvailable" #cell(incidentSla)="{ item }"> <service-level-agreement-cell - v-if="isValidSlaDueAt(item.slaDueAt)" + v-if="isValidDateString(item.slaDueAt)" :issue-iid="item.iid" :project-path="projectPath" :sla-due-at="item.slaDueAt" |