open-vault/ui/app/components/not-found.js

18 lines
359 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { inject as service } from '@ember/service';
import { alias } from '@ember/object/computed';
import Component from '@ember/component';
export default Component.extend({
// public
model: null,
tagName: '',
router: service(),
path: alias('router.currentURL'),
});