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