Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: is date disabled (#16204)
boojacke44f5b1ca3dd
diff --git a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vueindex cc2d9ec8f9..904f68d587 100644--- a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue+++ b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue@@ -133,7 +133,9 @@v-model:value="runTimeInMS"type="datetime":placeholder="$t('task.select-scheduled-time')"- :is-date-disabled="(ts: number) => ts < Date.now()"+ :is-date-disabled="+ (date: number) => date < dayjs().startOf('day').valueOf()+ "format="yyyy-MM-dd HH:mm:ss"clearable/>diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vueindex 14773752c1..2e89706435 100644--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue@@ -108,12 +108,11 @@ const comment = computed(() => {}const lastLogEntry = last(taskRun.taskRunLog.entries);- if (!lastLogEntry) {- return "-";+ if (lastLogEntry) {+ return displayTaskRunLogEntryType(lastLogEntry.type);}- return displayTaskRunLogEntryType(lastLogEntry.type);}- return taskRun.detail;+ return taskRun.detail || "-";});const commentLink = computed((): CommentLink => {diff --git a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vueindex 754b0d1d57..56240bc9c6 100644--- a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue+++ b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue@@ -191,7 +191,7 @@ const maximumRoleExpiration = computed(() => {});const isDateDisabled = (date: number) => {- if (date < Date.now()) {+ if (date < dayjs().startOf("day").valueOf()) {return true;}if (diff --git a/frontend/src/components/SensitiveData/GrantAccessForm.vue b/frontend/src/components/SensitiveData/GrantAccessForm.vueindex a9b3c2f49a..c4b4e16779 100644--- a/frontend/src/components/SensitiveData/GrantAccessForm.vue+++ b/frontend/src/components/SensitiveData/GrantAccessForm.vue@@ -62,7 +62,7 @@type="datetime":actions="null":update-value-on-close="true"- :is-date-disabled="(date: number) => date < Date.now()"+ :is-date-disabled="(date: number) => date < dayjs().startOf('day').valueOf()"clearable/><span v-if="!state.expirationTimestamp" class="textinfolabel">{{