bugfix: fix the webcam panel collapsible property (#375)

This fixes a bug where the webcam panel is collapsible even when navigated to the webcam page where the panel should not be collapsible.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus 2021-10-11 21:53:03 +02:00 committed by GitHub
parent 92a848747a
commit 4d2a61b8b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
v-if="socketIsConnected"
icon="mdi-webcam"
:title="$t('Panels.WebcamPanel.Headline')"
:collapsible="true"
:collapsible="(this.$route.fullPath !== '/cam')"
card-class="webcam-panel"
>
<template v-slot:buttons v-if="webcams.length > 1">