vault/ui/app/components/not-found.js
Angel Garbarino 9506160c7d
Glimmerize old components (#24068)
* 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>
2023-11-10 12:43:44 -07:00

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