diff --git a/src/components/settings/SettingsWebcamTab.vue b/src/components/settings/SettingsWebcamTab.vue index 114f880f..530ce60a 100644 --- a/src/components/settings/SettingsWebcamTab.vue +++ b/src/components/settings/SettingsWebcamTab.vue @@ -2,10 +2,6 @@
- - - - diff --git a/src/locales/en.json b/src/locales/en.json index 9fbaa3d3..30299f7c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -475,7 +475,6 @@ }, "WebcamTab": { "Webcams": "Webcams", - "ShowOnDashboard": "Show on dashboard", "ShowInNavigation": "Show in navigation", "AddWebcam": "add webcam", "CreateWebcam": "Create Webcam", diff --git a/src/locales/fr.json b/src/locales/fr.json index f791a9eb..78c68d37 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -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", diff --git a/src/store/farm/printer/getters.ts b/src/store/farm/printer/getters.ts index 07c72e00..bcc60a6e 100644 --- a/src/store/farm/printer/getters.ts +++ b/src/store/farm/printer/getters.ts @@ -228,11 +228,6 @@ export const getters: GetterTree = { }, 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 ?? [] } } \ No newline at end of file