mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
* update transforms * glimmer transform alphabet * move alphabet edit * license info and remove block error * logo edition * not found * Update ui/app/components/logo-edition.js Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com> * ad js docs --------- Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
27 lines
547 B
JavaScript
27 lines
547 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { inject as service } from '@ember/service';
|
|
import Component from '@glimmer/component';
|
|
|
|
/**
|
|
* @module NotFound
|
|
* NotFound components are used to show a message that the route was not found.
|
|
*
|
|
* @example
|
|
* ```js
|
|
* <NotFound @model={{this.model}} />
|
|
* ```
|
|
* @param {object} model - routes model passed into the component.
|
|
*/
|
|
|
|
export default class NotFound extends Component {
|
|
@service router;
|
|
|
|
get path() {
|
|
return this.router.currentURL;
|
|
}
|
|
}
|