1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00
This commit is contained in:
Amir Raminfar
2018-12-12 19:04:23 -08:00
parent 64ba618188
commit 5dcde91936

View File

@@ -4,7 +4,7 @@
<a
role="button"
class="navbar-burger burger is-white is-hidden-tablet is-pulled-right"
@click="showNav = !showNav;"
@click="showNav = !showNav"
:class="{ 'is-active': showNav }"
>
<span></span> <span></span> <span></span>
@@ -51,6 +51,11 @@ export default {
async fetchContainerList() {
this.containers = await (await fetch(`${BASE_PATH}/api/containers.json`)).json();
}
},
watch: {
$route(to, from) {
this.showNav = false;
}
}
};
</script>