Skip to content
Snippets Groups Projects
Commit eeeb36ac authored by Julian's avatar Julian
Browse files

Add hideButton option to Errorpage.vue

parent 7a83d36f
No related branches found
No related tags found
1 merge request!1154Resolve "Verify maintenance mode with GraphQL / reimplement maintenance mode handling"
......@@ -5,7 +5,7 @@
>
<h1 class="text-h2">{{ $t(shortErrorMessageKey) }}</h1>
<div>{{ $t(longErrorMessageKey) }}</div>
<v-btn color="secondary" :to="{ name: redirectRouteName }">
<v-btn color="secondary" :to="{ name: redirectRouteName }" v-if="!hideButton">
<v-icon left>{{ redirectButtonIcon }}</v-icon>
{{ $t(redirectButtonTextKey) }}
</v-btn>
......@@ -36,6 +36,11 @@ export default {
type: String,
required: true,
},
hideButton: {
type: Boolean,
default: false,
required: false,
},
},
};
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment