extract from field

This commit is contained in:
Egor Aristov 2025-05-06 19:03:58 +03:00
parent 01c28aead2
commit 4302176348
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

@ -107,7 +107,8 @@ export const fields: SpecField[] = [
label: 'Attribute name', label: 'Attribute name',
default: '', default: '',
validate: validateAttribute, validate: validateAttribute,
show_if: specs => specs.created_extract_from === rssalchemy.ExtractFrom.Attribute, show_if: specs =>
!!specs.selector_created && specs.created_extract_from === rssalchemy.ExtractFrom.Attribute,
group: 'created', group: 'created',
}, },