Removed tab hiding
This commit is contained in:
parent
84fe22275b
commit
be4362ff21
1 changed files with 9 additions and 9 deletions
|
|
@ -61,7 +61,6 @@
|
||||||
<!-- Corresponding vertical tab content -->
|
<!-- Corresponding vertical tab content -->
|
||||||
<div
|
<div
|
||||||
id="container-left"
|
id="container-left"
|
||||||
:hidden="!showControlBar"
|
|
||||||
class="uk-padding-remove uk-height-1-1 uk-width-expand"
|
class="uk-padding-remove uk-height-1-1 uk-width-expand"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
@ -135,12 +134,18 @@ import axios from "axios";
|
||||||
import tabIcon from "./genericComponents/tabIcon";
|
import tabIcon from "./genericComponents/tabIcon";
|
||||||
import tabContent from "./genericComponents/tabContent";
|
import tabContent from "./genericComponents/tabContent";
|
||||||
|
|
||||||
// Import pane components
|
// Import control components
|
||||||
import paneStatus from "./controlComponents/paneStatus";
|
import paneStatus from "./controlComponents/paneStatus";
|
||||||
import paneNavigate from "./controlComponents/paneNavigate";
|
import paneNavigate from "./controlComponents/paneNavigate";
|
||||||
import paneCapture from "./controlComponents/paneCapture";
|
import paneCapture from "./controlComponents/paneCapture";
|
||||||
import paneSettings from "./controlComponents/paneSettings";
|
import paneSettings from "./controlComponents/paneSettings";
|
||||||
|
|
||||||
|
// Import view components
|
||||||
|
import connectDisplay from "./viewComponents/connectDisplay.vue";
|
||||||
|
import connectDisplayLite from "./viewComponents/connectDisplayLite.vue";
|
||||||
|
import streamDisplay from "./viewComponents/streamDisplay.vue";
|
||||||
|
import galleryDisplay from "./viewComponents/galleryDisplay.vue";
|
||||||
|
|
||||||
// Import plugin components
|
// Import plugin components
|
||||||
import JsonForm from "./pluginComponents/JsonForm";
|
import JsonForm from "./pluginComponents/JsonForm";
|
||||||
|
|
||||||
|
|
@ -162,7 +167,6 @@ export default {
|
||||||
return {
|
return {
|
||||||
plugins: [],
|
plugins: [],
|
||||||
currentTab: "status",
|
currentTab: "status",
|
||||||
showControlBar: true,
|
|
||||||
unwatchStoreFunction: null
|
unwatchStoreFunction: null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -225,11 +229,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setTab: function(event, tab) {
|
setTab: function(event, tab) {
|
||||||
if (this.currentTab == tab) {
|
if (!(this.currentTab == tab)) {
|
||||||
this.showControlBar = !this.showControlBar;
|
|
||||||
this.currentTab = "none";
|
|
||||||
} else {
|
|
||||||
this.showControlBar = true;
|
|
||||||
this.currentTab = tab;
|
this.currentTab = tab;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -239,7 +239,7 @@ export default {
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
#component-left {
|
#component-left {
|
||||||
width: 300px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container-left {
|
#container-left {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue