added more fields (read only atm) for recorders
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<!-- components/Login.vue -->
|
||||
<template>
|
||||
<div>
|
||||
<div v-if="!authenticated">
|
||||
<section class="hero is-primary">
|
||||
<div class="hero-body">
|
||||
<div class="container has-text-centered">
|
||||
@@ -45,7 +46,11 @@
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div v-else>
|
||||
<h1>{{ $t('You are already logged in!') }}</h1>
|
||||
<p><a href="some_logout_url">{{$t('logout')}}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -108,6 +113,10 @@
|
||||
users() {
|
||||
return this.$store.state.users;
|
||||
},
|
||||
authenticated() {
|
||||
return this.$store.getters.isAuthenticated;
|
||||
}
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user