Added gallery to library items
This commit is contained in:
parent
ddf0b12ece
commit
de3f1790f9
|
@ -70,6 +70,11 @@
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::content-type.content-type"
|
"target": "api::content-type.content-type"
|
||||||
|
},
|
||||||
|
"categories": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToMany",
|
||||||
|
"target": "api::category.category"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,14 @@
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": true,
|
"repeatable": true,
|
||||||
"component": "translations.library-items"
|
"component": "translations.library-items"
|
||||||
|
},
|
||||||
|
"gallery": {
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"videos"
|
||||||
|
],
|
||||||
|
"type": "media",
|
||||||
|
"multiple": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue