bugfix: remove 'show on dashboard' option in settings > webcam
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
29f41b029a
commit
4832fa09eb
@ -2,10 +2,6 @@
|
||||
<div>
|
||||
<v-card flat v-if="!form.bool">
|
||||
<v-card-text>
|
||||
<settings-row :title="$t('Settings.WebcamTab.ShowOnDashboard')">
|
||||
<v-switch v-model="boolDashboard" hide-details class="mt-0"></v-switch>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.WebcamTab.ShowInNavigation')">
|
||||
<v-switch v-model="boolNavi" hide-details class="mt-0"></v-switch>
|
||||
</settings-row>
|
||||
|
@ -475,7 +475,6 @@
|
||||
},
|
||||
"WebcamTab": {
|
||||
"Webcams": "Webcams",
|
||||
"ShowOnDashboard": "Show on dashboard",
|
||||
"ShowInNavigation": "Show in navigation",
|
||||
"AddWebcam": "add webcam",
|
||||
"CreateWebcam": "Create Webcam",
|
||||
|
@ -454,7 +454,6 @@
|
||||
"SaveWebcam": "sauvegarde caméra",
|
||||
"Service": "Service",
|
||||
"ShowInNavigation": "Afficher dans la navigation",
|
||||
"ShowOnDashboard": "Afficher dans l'écran principal",
|
||||
"TargetFPS": "IPS destination",
|
||||
"UpdateWebcam": "Mise à jour Caméra",
|
||||
"UrlNotAvailable": "URL non disponible",
|
||||
|
@ -228,11 +228,6 @@ export const getters: GetterTree<FarmPrinterState, any> = {
|
||||
},
|
||||
|
||||
getPrinterWebcams: (state) => {
|
||||
if (
|
||||
state.data.gui.webcam?.configs?.length &&
|
||||
(state.data.gui.webcam.boolDashboard || state.data.gui.webcam.boolNavi)
|
||||
) return state.data.gui.webcam.configs
|
||||
|
||||
return []
|
||||
return state.data.gui.webcam.configs ?? []
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user