Fix webUI presets (#7065)

This commit is contained in:
Nicolas Mowen 2023-07-07 06:07:46 -06:00 committed by GitHub
parent 69630e7385
commit 04aada8720
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; return;
} }
sendPtz(`preset-${currentPreset}`); sendPtz(`preset_${currentPreset}`);
setCurrentPreset(''); setCurrentPreset('');
}; };