Add small script to steal shop presets from the iD-project

This commit is contained in:
Pieter Vander Vennet 2022-07-02 01:59:26 +02:00
parent 5cf52690ee
commit ef66b1931f
5 changed files with 4037 additions and 166 deletions

View file

@ -181,7 +181,7 @@ export default class TagRenderingQuestion extends Combine {
}
if (applicableMappings.length < 8 || configuration.multiAnswer || hasImages || ifNotsPresent) {
if (applicableMappings.length < 8 || configuration.multiAnswer || (hasImages && applicableMappings.length < 16) || ifNotsPresent) {
inputEls = (applicableMappings ?? []).map((mapping, i) => TagRenderingQuestion.GenerateMappingElement(state, tagsSource, mapping, allIfNotsExcept(i)));
inputEls = Utils.NoNull(inputEls);
} else {