mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Filter criterion fixes (#4090)
* Reorder * Remove PhashDuplicateCriterion * Improve DurationInput * Register abloop outside of player init function * Remove none criterion * Typing improvements * Move makeCriteria to ListFilterModel * Separate PathCriterionOption * Add makeCriterion arg to StringCriterionOption * Remove unused options args * Add DurationCriterionOption * Use createNumberCriterionOption * Add StringBooleanCriterion
This commit is contained in:
@@ -356,8 +356,8 @@ export const SettingsInterfacePanel: React.FC = () => {
|
||||
onChange={(v) => saveInterface({ maximumLoopDuration: v })}
|
||||
renderField={(value, setValue) => (
|
||||
<DurationInput
|
||||
numericValue={value}
|
||||
onValueChange={(duration) => setValue(duration ?? 0)}
|
||||
value={value}
|
||||
setValue={(duration) => setValue(duration ?? 0)}
|
||||
/>
|
||||
)}
|
||||
renderValue={(v) => {
|
||||
|
||||
Reference in New Issue
Block a user