Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<template>
|
||||
<section class="container">
|
||||
<span v-if="code === ErrorCode.REGISTRATION_CLOSED">
|
||||
{{ $t('Registration is currently closed.') }}
|
||||
{{ $t("Registration is currently closed.") }}
|
||||
</span>
|
||||
|
||||
<span v-else>
|
||||
{{ $t('Unknown error.') }}
|
||||
{{ $t("Unknown error.") }}
|
||||
</span>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Vue } from 'vue-property-decorator';
|
||||
import { ErrorCode } from '@/types/error-code.model';
|
||||
import { Component, Vue } from "vue-property-decorator";
|
||||
import { ErrorCode } from "@/types/error-code.model";
|
||||
|
||||
@Component
|
||||
export default class ErrorPage extends Vue {
|
||||
@@ -21,7 +21,7 @@ export default class ErrorPage extends Vue {
|
||||
ErrorCode = ErrorCode;
|
||||
|
||||
mounted() {
|
||||
this.code = this.$route.query['code'] as ErrorCode;
|
||||
this.code = this.$route.query.code as ErrorCode;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user