fix webp enabled check

This commit is contained in:
Georges-Antoine Assi
2025-09-03 19:28:35 -04:00
parent 1ac99308eb
commit 982f388122

View File

@@ -137,9 +137,8 @@ interface TiltHTMLElement extends HTMLElement {
const tiltCardRef = useTemplateRef<TiltHTMLElement>("tilt-card-ref");
const isWebpEnabled = computed(
() => heartbeatStore.value.TASKS?.ENABLE_SCHEDULED_CONVERT_IMAGES_TO_WEBP,
);
const isWebpEnabled =
heartbeatStore.value.TASKS?.ENABLE_SCHEDULED_CONVERT_IMAGES_TO_WEBP;
const largeCover = computed(() => {
if (!romsStore.isSimpleRom(props.rom))