Fix webUI presets

This commit is contained in:
Nicolas Mowen 2023-07-06 16:26:45 -06:00 committed by GitHub
parent dd02958f7c
commit 4d5ebfb648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export default function CameraControlPanel({ camera = '' }) {
return;
}
sendPtz(`preset-${currentPreset}`);
sendPtz(`preset_${currentPreset}`);
setCurrentPreset('');
};