Merge pull request #28589 from overleaf/revert-28283-jdt-monthly-tl-experiment

Revert "Rolling TexLive builds experiment"

GitOrigin-RevId: c3c6833dca7ef0d207f854c93bf0bb03bd814694
This commit is contained in:
Brian Gough
2025-09-19 08:08:15 +00:00
committed by Copybot
parent aaafb86fe2
commit aaa62b2dbc
14 changed files with 62 additions and 171 deletions
@@ -11,21 +11,21 @@ export default function ImageNameSetting() {
const { t } = useTranslation()
const { write } = usePermissionsContext()
const imageNames = useMemo(() => getMeta('ol-imageNames') || [], [])
const allowedImageNames = useMemo(
() => getMeta('ol-allowedImageNames') || [],
[]
)
const options: Array<Option> = useMemo(
() =>
imageNames
// filter out images that aren't allowed, unless thats the current image the project is on
.filter(image => image.allowed || image.imageName === imageName)
.map(({ imageName, imageDesc }) => ({
value: imageName,
label: imageDesc,
})),
[imageNames, imageName]
allowedImageNames.map(({ imageName, imageDesc }) => ({
value: imageName,
label: imageDesc,
})),
[allowedImageNames]
)
if (imageNames.length === 0) {
if (allowedImageNames.length === 0) {
return null
}