Update capture panel to use capture action
This commit is contained in:
parent
cdab10ae46
commit
e3e3afbca6
1 changed files with 3 additions and 14 deletions
|
|
@ -7,20 +7,9 @@
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<action-button
|
<action-button
|
||||||
thing="camera"
|
thing="camera"
|
||||||
action="capture_jpeg"
|
action="capture"
|
||||||
:submit-data="{ stream_name: 'main' }"
|
:submit-data="{ capture_mode: 'standard' }"
|
||||||
:submit-label="'Low Resolution'"
|
submit-label="Capture"
|
||||||
@response="handleCaptureResponse"
|
|
||||||
@error="modalError"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-margin">
|
|
||||||
<action-button
|
|
||||||
thing="camera"
|
|
||||||
action="capture_jpeg"
|
|
||||||
:submit-data="{ stream_name: 'full' }"
|
|
||||||
submit-label="Full Resolution"
|
|
||||||
:submit-on-event="'globalCaptureEvent'"
|
:submit-on-event="'globalCaptureEvent'"
|
||||||
@response="handleCaptureResponse"
|
@response="handleCaptureResponse"
|
||||||
@error="modalError"
|
@error="modalError"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue