consul/ui/packages/consul-ui/app/components/app-error/index.hbs

19 lines
333 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<AppView>
<BlockSlot @name="header">
<h1>
Error {{@error.status}}
</h1>
</BlockSlot>
<BlockSlot @name="content">
<ErrorState
@error={{@error}}
@login={{if (eq @error.status "403") @login}}
/>
</BlockSlot>
</AppView>