mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix marker validation message
This commit is contained in:
@@ -51,7 +51,7 @@ export const SceneMarkerForm: React.FC<ISceneMarkerForm> = ({
|
|||||||
.defined()
|
.defined()
|
||||||
.test(
|
.test(
|
||||||
"is-greater-than-seconds",
|
"is-greater-than-seconds",
|
||||||
intl.formatMessage({ id: "end_time_before_start_time" }),
|
intl.formatMessage({ id: "validation.end_time_before_start_time" }),
|
||||||
function (value) {
|
function (value) {
|
||||||
return value === null || value >= this.parent.seconds;
|
return value === null || value >= this.parent.seconds;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user