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

14 lines
258 B
Handlebars

<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>