AppHeader.vue (09e45cd4f5e233d4ec75c086dd7ab912a2f79a41) AppHeader.vue (c031b6988d6381ae1d2ecefd04e8c2af47f0ff4a)
1<template>
2 <div>
3 <a class="link-skip-nav btn btn-light" href="#main-content">
4 Skip to content
5 </a>
6 <header id="page-header">
7 <b-navbar toggleable="lg" variant="dark" type="dark">
8 <!-- Left aligned nav items -->

--- 52 unchanged lines hidden (view full) ---

61 created() {
62 this.getHostInfo();
63 },
64 methods: {
65 getHostInfo() {
66 this.$store.dispatch('global/getHostStatus');
67 },
68 logout() {
1<template>
2 <div>
3 <a class="link-skip-nav btn btn-light" href="#main-content">
4 Skip to content
5 </a>
6 <header id="page-header">
7 <b-navbar toggleable="lg" variant="dark" type="dark">
8 <!-- Left aligned nav items -->

--- 52 unchanged lines hidden (view full) ---

61 created() {
62 this.getHostInfo();
63 },
64 methods: {
65 getHostInfo() {
66 this.$store.dispatch('global/getHostStatus');
67 },
68 logout() {
69 this.$store.dispatch('authentication/logout').then(() => {
70 this.$router.push('/login');
71 });
69 this.$store.dispatch('authentication/logout');
72 }
73 }
74};
75</script>
76
77<style lang="scss" scoped>
78.link-skip-nav {
79 position: absolute;

--- 15 unchanged lines hidden ---
70 }
71 }
72};
73</script>
74
75<style lang="scss" scoped>
76.link-skip-nav {
77 position: absolute;

--- 15 unchanged lines hidden ---