blob: 357ec8e9dd89eefc21cf38369725e659cd786417 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<template>
<b-container fluid="xl">
<page-title class="mb-4" :description="$t('pageSerialOverLan.subTitle')" />
<page-section class="mb-0">
<serial-over-lan-console
:is-full-window="false"
:class="{
disabledDiv: isNotAdmin,
}"
/>
</page-section>
</b-container>
</template>
<script>
import PageTitle from '@/components/_sila/Global/PageTitle';
import PageSection from '@/components/_sila/Global/PageSection';
import SerialOverLanConsole from './SerialOverLanConsole';
export default {
name: 'SerialOverLan',
components: {
PageSection,
PageTitle,
SerialOverLanConsole,
},
computed: {
isNotAdmin() {
return this.$store.getters['authentication/role'] === 'ReadOnly';
},
},
};
</script>
|