Skip to content

Commit

Permalink
fix(ViewAdmin): Allow disabling movinet even when WASM mode is enabled
Browse files Browse the repository at this point in the history
fixes #1209

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Oct 19, 2024
1 parent 3db9784 commit f58df12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ViewAdmin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<p>
<NcCheckboxRadioSwitch :checked.sync="settings['movinet.enabled']"
type="switch"
:disabled="platform !== 'x86_64' || settings['tensorflow.purejs']"
:disabled="(platform !== 'x86_64' || settings['tensorflow.purejs']) && !settings['movinet.enabled']"
@update:checked="onChange">
{{ t('recognize', 'Enable human action recognition (e.g. arm wrestling, dribbling basketball, hula hooping)') }}
</NcCheckboxRadioSwitch>
Expand Down

0 comments on commit f58df12

Please sign in to comment.